diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-02 15:08:10 -0600 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-02 19:21:00 -0600 |
commit | 4585f358b923bb9b4ab36a0c3e4682b060e088a7 (patch) | |
tree | b7ce667a4aee2ff0c09e3a0f83e18d3ba4290927 /app/helpers | |
parent | 244bec9101ff754291e2c02d9844e0879ff5fa2f (diff) | |
download | gitlab-ce-4585f358b923bb9b4ab36a0c3e4682b060e088a7.tar.gz |
Add styles for branch & tags boxes
- Create a partial for limit exceeded message
- Modifies specs to adjust new scenarios
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/commits_helper.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/app/helpers/commits_helper.rb b/app/helpers/commits_helper.rb index 2ba84e55fe0..95fc50a476a 100644 --- a/app/helpers/commits_helper.rb +++ b/app/helpers/commits_helper.rb @@ -81,18 +81,6 @@ module CommitsHelper end end - def branches_unavailable_message - link_to('#', class: 'label label-gray ref-name', title: 'Project has too many branches to search') do - icon('tag') + ' Branches unavailable' - end - end - - def tags_unavailable_message - link_to('#', class: 'label label-gray ref-name', title: 'Project has too many tags to search') do - icon('tag') + ' Tags unavailable' - end - end - # Returns the sorted links to tags, separated by a comma def commit_tags_links(project, tags) sorted = VersionSorter.rsort(tags) |