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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Remove send invitation button for self user
grerichard44720695c27a
diff --git a/app/views/users/_toolbar.html.erb b/app/views/users/_toolbar.html.erbindex 1f6b49fad53..1f06c344f1a 100644--- a/app/views/users/_toolbar.html.erb+++ b/app/views/users/_toolbar.html.erb@@ -33,7 +33,7 @@ See COPYRIGHT and LICENSE files for more details.<span class="button--text"><%= t(:label_profile) %></span><% end %></li>- <% if current_user.allowed_globally?(:create_user) %>+ <% if current_user.allowed_globally?(:create_user) && current_user.id != @user.id %><li class="toolbar-item hidden-for-tablet"><%= form_for(@user,url: { action: :resend_invitation },