1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-25 09:51:14 +00:00
redmine/app/views/groups/show.html.erb
Marius Balteanu ffce07e785 Start working on replacing old icons with SVG icons (#23980):
* Introduces IconsHelper with methods to render SVG icon from a sprite file.
* Adds SVG sprite file with icons mainly from Font Awesome, but also from Material Design Icons and Fluent UI System Icons (based on the work made by Takashi Kato (@tohosaku)).
* Replaces specific icons with new SVG icons.
* Temporarily keep all old CSS icon definitions for backard compatibility.



git-svn-id: https://svn.redmine.org/redmine/trunk@22988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2024-08-29 21:46:40 +00:00

22 lines
606 B
Plaintext

<div class="contextual">
<%= link_to(icon_with_label('edit', l(:button_edit)), edit_group_path(@group), :class => 'icon icon-edit') if User.current.admin? %>
</div>
<h2><%= @group.name %></h2>
<% if @group.custom_field_values.any? %>
<ul>
<% render_custom_field_values(@group) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
<% end %>
</ul>
<% end %>
<h3><%= l(:label_member_plural) %></h3>
<ul>
<% @group.users.visible.each do |user| %>
<li><%= link_to_user(user) %></li>
<% end %>
</ul>
<% html_title @group.name %>