gitlab-org--gitlab-foss/app/views/projects
Dmitriy Zaporozhets ef3e0931b9 Merge branch 'fix-no-labels-page' into 'master'
Omit link to generate labels if user does not have access to create them

On a project that has no labels, a user was provided a link to create labels on the "Labels" tab, resulting in a 404. This MR changes the next to "No labels created" if the user lands on this page but does not have permission to add a label.

Screenshot:

![image](https://gitlab.com/stanhu/gitlab-ce/uploads/cb04659cf3a0abe1e072cb78d0964b94/image.png)

Closes https://github.com/gitlabhq/gitlabhq/issues/8353

See merge request !752
2015-06-04 15:56:13 +00:00
..
blame Fix git blame syntax highlighting when different commits break up lines 2015-05-27 14:10:58 -07:00
blob Allow base64 for edit blobs 2015-06-01 23:43:08 +02:00
branches Add Merge Request button to branches page. 2015-05-09 22:55:19 +02:00
commit Include commit message in page title. 2015-04-30 21:12:31 +02:00
commits Fix Atom feeds. 2015-05-21 11:39:33 +02:00
compare Add Create Merge Request buttons to commits page and push event. 2015-05-09 22:26:52 +02:00
deploy_keys Show key fingerprint on DeployKeys#index 2015-06-03 18:03:04 -04:00
diffs Fix diff header with submodule change 2015-05-29 11:01:40 +02:00
forks Add a page title to every page. 2015-04-30 19:12:15 +02:00
graphs Add a page title to every page. 2015-04-30 19:12:15 +02:00
hooks Add support for Webhook note events 2015-05-21 23:48:16 -04:00
imports Add a page title to every page. 2015-04-30 19:12:15 +02:00
issues Set milestone on new issue when creating issue from index with milestone filter active. 2015-05-27 14:22:11 +02:00
labels Omit link to generate labels if user does not have access to create them 2015-06-01 22:42:53 -07:00
merge_requests Show avatars in merge widget and fix mr download button overflow 2015-06-01 12:17:55 +02:00
milestones Fix milestone "Browse Issues" button. 2015-05-27 14:23:04 +02:00
network Include ref in network page title. 2015-04-30 21:14:26 +02:00
notes Always show note action icons. 2015-05-14 12:18:19 +02:00
project_members Make leave buttons more explicit 2015-05-29 16:34:26 +02:00
protected_branches Add a page title to every page. 2015-04-30 19:12:15 +02:00
refs Fixed issue where only 25 commits would load in file listings 2015-03-30 19:31:13 +01:00
repositories Align project download button with others in sidebar on project home page 2015-04-14 17:08:01 +03:00
services Add a page title to every page. 2015-04-30 19:12:15 +02:00
snippets Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tags Capitalize "X" in "New X". 2015-04-30 21:33:02 +02:00
tree Fix alignment of ref picker, breadcrumb and buttons. 2015-05-12 10:27:17 +02:00
wikis Validate wiki page creation 2015-05-26 19:01:11 +02:00
_aside.html.haml Improve UI of project sidebar 2015-05-29 18:12:31 +02:00
_bitbucket_import_modal.html.haml
_commit_button.html.haml
_errors.html.haml
_github_import_modal.html.haml
_gitlab_import_modal.html.haml
_home_panel.html.haml Add a pipeline context option for SanitizationFilter 2015-06-02 13:04:10 -04:00
_issuable_form.html.haml Merge branch 'support-edit-target-branch-in-mr' into 'master' 2015-05-29 15:01:54 +00:00
_md_preview.html.haml Make issue preview look like the result 2015-04-21 22:16:53 +02:00
_section.html.haml Add icons to more tabs. 2015-05-12 10:27:17 +02:00
_zen.html.haml
edit.html.haml Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
empty.html.haml Move clone panel to sidebar 2015-05-05 13:09:50 +03:00
go_import.html.haml
new.html.haml Add helpers for header title and sidebar, and move setting those from controllers to layouts. 2015-05-01 10:39:16 +02:00
no_repo.html.haml
show.atom.builder Fix Atom feeds. 2015-05-21 11:39:33 +02:00
show.html.haml Fix project description and avatar alignment 2015-05-05 19:25:18 +03:00
transfer.js.haml
update.js.haml Move jQuery enable/disable extensions to extensions/jquery 2015-06-02 20:32:07 -04:00