mirror of
https://github.com/meineerde/redmine.git
synced 2026-02-01 03:57:15 +00:00
Swaps out the icon-fav for icon-user on projects#index (#31356).
Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18164 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
43e144ae85
commit
f1d10edf81
@ -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
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
<% if User.current.logged? %>
|
||||
<p style="text-align:right;">
|
||||
<span class="icon icon-fav my-project"><%= l(:label_my_projects) %></span>
|
||||
<span class="icon icon-user my-project"><%= l(:label_my_projects) %></span>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
|
||||
@ -650,7 +650,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;}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user