Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Merge requests
  • !9897

Merged
Created 9 years ago by Administrator@rootOwner

Fix inconsistency with no ssh key message

  • Overview 0
  • Commits 1
  • Changes 1

Created by: atomaka

When a user has not added an SSH key, the alert message is inconsistent depending on if the project is empty or not.

Currently:

screen shot 2015-12-08 at 6 27 44 pm

This update will fix the message to match the show action by passing it as content_for :flash_message. The result will be a more consistent look that has the additional space and appropriate link styling matching the non-empty project display.

screen shot 2015-12-08 at 6 26 41 pm

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    48bf0a34
    1 commit, 5 years ago

1 file
+ 1
- 1

    Preferences

    File browser
    Compare changes

There are merge conflicts

The comparison view may be inaccurate due to merge conflicts.

Resolve these conflicts or ask someone with write access to this repository to merge it locally.

app/views/projects/empty.html.haml
+ 1
- 1
  • View file @ 48bf0a34

  • Edit in single-file editor

  • Edit in Web IDE


.alert_holder
= content_for :flash_message do
- if current_user && can?(current_user, :download_code, @project)
= render 'shared/no_ssh'
= render 'shared/no_password'
Show 20 lines Show all unchanged lines
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Lock merge request
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1!9897
Source branch: github/fork/atomaka/atomaka/bugfix/consistent-no-ssh-message

    0 pending comments

Menu

Projects Groups Snippets
Help