From 1c39949d56ff265ea04b3ff58a4c51ac934d5c3a Mon Sep 17 00:00:00 2001 From: Jens Kraemer Date: Mon, 13 May 2019 17:02:07 +0800 Subject: [PATCH] swaps out the icon-fav for icon-user on projects#index --- app/helpers/projects_helper.rb | 2 +- app/views/projects/index.html.erb | 2 +- public/stylesheets/application.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 6a34a79e7..5e91026e6 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -59,7 +59,7 @@ module ProjectsHelper # Renders the projects index def render_project_hierarchy(projects) render_project_nested_lists(projects) do |project| - s = link_to_project(project, {}, :class => "#{project.css_classes} #{User.current.member_of?(project) ? 'icon icon-fav my-project' : nil}") + s = link_to_project(project, {}, :class => "#{project.css_classes} #{User.current.member_of?(project) ? 'icon icon-user my-project' : nil}") if project.description.present? s << content_tag('div', textilizable(project.short_description, :project => project), :class => 'wiki description') end diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index 0f699589e..13e3332c3 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -20,7 +20,7 @@ <% if User.current.logged? %>

-<%= l(:label_my_projects) %> +<%= l(:label_my_projects) %>

<% end %> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index af34a8c88..a169df212 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -647,7 +647,7 @@ ul.projects div.description li {list-style-type:initial;} #projects-index ul.projects div.description { padding-top: 0.5em; } -#projects-index a.icon-fav {padding-left:0; padding-right:20px; background-position:98% 50%;} +#projects-index a.icon-user {padding-left:0; padding-right:20px; background-position:98% 50%;} #notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;} -- 2.11.0