Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

678 B
Raw Blame
<%= widget_wrapper do %>
  <p class="widget-box--additional-info"><%= t("homescreen.additional.users") %></p>

  <% unless @newest_users.empty? %>
  <ul class="widget-box--arrow-links">
    <% @newest_users.each do |user| %>
      <li>
        <%= link_to_user user %>
        <small>(<%= format_date(user.created_at) %>)</small>
      </li>
    <% end %>
  </ul>
  <% end %>

  <div class="widget-box--buttons">
    <% if current_user.admin? %>
      <%= link_to new_user_path, class: "button -primary" do %>
        <%= op_icon("button--icon icon-add") %>
        <span class="button--text"><%= t(:label_invite_user) %></span>
      <% end %>
    <% end %>
  </div>
<% end %>