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
add various ux improvements on backup
Christophe Bliard5602a960b9e8
diff --git a/app/views/admin/backups/reset_token.html.erb b/app/views/admin/backups/reset_token.html.erbindex ef9623b4a67..b131f7c0562 100644--- a/app/views/admin/backups/reset_token.html.erb+++ b/app/views/admin/backups/reset_token.html.erb@@ -64,7 +64,7 @@ See COPYRIGHT and LICENSE files for more details.<%= t("backup.reset_token.verification",word: "<em class=\"danger-zone--expected-value\">#{t("backup.reset_token.verification_word_#{action}")}</em>",- action: action+ action: t("backup.reset_token.verification_word_#{action}")).html_safe %></p><div class="danger-zone--verification">diff --git a/app/views/admin/backups/show.html.erb b/app/views/admin/backups/show.html.erbindex 323b4cdd41b..7da3ef83660 100644--- a/app/views/admin/backups/show.html.erb+++ b/app/views/admin/backups/show.html.erb@@ -36,7 +36,6 @@ See COPYRIGHT and LICENSE files for more details.<%=link_to({ action: 'reset_token' },- method: :get,class: 'button -alt-highlight',aria: {label: label},title: label@@ -77,7 +76,11 @@ See COPYRIGHT and LICENSE files for more details.<ul><% Token::Backup.all.includes(:user).each do |token| %><li>- <%= link_to token.user.name, edit_user_path(token.user) %>+ <% if current_user.allowed_to_globally?(:manage_user) %>+ <%= link_to token.user.name, edit_user_path(token.user) %>+ <% else %>+ <%= token.user.name %>+ <% end %><%= token.user == current_user ? "(#{I18n.t(:you)})" : '' %></li><% end %>diff --git a/config/locales/en.yml b/config/locales/en.ymlindex eff64fc590c..40835e4e043 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -2243,6 +2243,7 @@ en:permission_comment_news: "Comment news"permission_commit_access: "Read/write access to repository (commit)"permission_copy_projects: "Copy projects"+ permission_create_backup: "Create backup"permission_delete_work_package_watchers: "Delete watchers"permission_delete_work_packages: "Delete work packages"permission_delete_messages: "Delete messages"diff --git a/frontend/src/global_styles/content/_forms.sass b/frontend/src/global_styles/content/_forms.sassindex 012845101c8..a5d7bc43d44 100644--- a/frontend/src/global_styles/content/_forms.sass+++ b/frontend/src/global_styles/content/_forms.sass@@ -95,6 +95,7 @@ form& > *padding-left: 1rem+ padding-right: 1rem.form--section-titlebackground-color: var(--content-form-danger-zone-bg-color)@@ -181,7 +182,7 @@ hr&.-invisibleborder-bottom-width: 0px-+&_limitedmax-width: 600px