OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/homescreen/blocks/_users.html.erb

23 lines
713 B

<%= render 'homescreen/blocks/header', title: t(:label_user_plural) %>
<p class="widget-box--additional-info"><%= l('homescreen.additional.users') %></p>
<% unless @newest_users.empty? %>
<ul class="widget-box--arrow-links">
<% @newest_users.each do |user| %>
<li>
<%= link_to user, user_path(user), title: user.name %>
<small>(<%= format_date(user.created_on) %>)</small>
</li>
<% end %>
</ul>
<% end %>
<div class="widget-box--buttons">
<% if User.current.admin? %>
<%= link_to new_user_path, class: 'button -alt-highlight' do %>
<%= op_icon('button--icon icon-add') %>
<span class="button--text"><%= l(:label_invite_user) %></span>
<% end %>
<% end %>
</div>