summaryrefslogtreecommitdiff
path: root/app/views/projects/_home_panel.html.haml
diff options
context:
space:
mode:
authorMartin Wortschack <mwortschack@gitlab.com>2019-01-10 21:08:41 +0100
committerMartin Wortschack <mwortschack@gitlab.com>2019-01-10 21:09:00 +0100
commitf5cde3a781a63ebd5630b0eb1fee79fc9750d6be (patch)
tree7edd5d67e34f602405f0f605edaa150700fea69e /app/views/projects/_home_panel.html.haml
parent4aaea7b3c7d52809824454c3977503485b849891 (diff)
downloadgitlab-ce-f5cde3a781a63ebd5630b0eb1fee79fc9750d6be.tar.gz
Rename tags to topics
- Rename CSS class - Fix broken test - Update project settings docs - Update general project settings image - Rename helper methods
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r--app/views/projects/_home_panel.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 82b2ab64a5d..d2587af11dd 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -19,12 +19,13 @@
%span.access-request-links.prepend-left-8
= render 'shared/members/access_request_links', source: @project
- if @project.tag_list.present?
- %span.project-tag-list.d-inline-flex.prepend-left-8.has-tooltip{ data: { container: 'body' }, title: @project.has_extra_tags? ? @project.tag_list.join(', ') : nil }
+ %span.project-topic-list.d-inline-flex.prepend-left-8.has-tooltip{ data: { container: 'body' }, title: @project.has_extra_topics? ? @project.tag_list.join(', ') : nil }
= sprite_icon('tag', size: 16, css_class: 'icon append-right-4')
- = @project.tags_to_show
- - if @project.has_extra_tags?
+ = @project.topics_to_show
+ - if @project.has_extra_topics?
= _("+ %{count} more") % { count: @project.count_of_extra_tags_not_shown }
+
.project-repo-buttons.col-md-12.col-lg-6.d-inline-flex.flex-wrap.justify-content-lg-end
- if current_user
.d-inline-flex