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

Display status previous name in edit form

Christophe Bliard56bcefde2aef
diff --git a/app/views/statuses/edit.html.erb b/app/views/statuses/edit.html.erb
index 428fe61dd96..4aa80f1331d 100644
--- a/app/views/statuses/edit.html.erb
+++ b/app/views/statuses/edit.html.erb
@@ -27,15 +27,15 @@ See COPYRIGHT and LICENSE files for more details.
++#%>
-<% html_title t(:label_administration), "#{t(:label_edit)} #{Status.model_name.human} #{h @status.name}" %>
+<% html_title t(:label_administration), "#{t(:label_edit)} #{Status.model_name.human} #{h @status.name_was}" %>
<%=
render Primer::OpenProject::PageHeader.new do |header|
- header.with_title { @status.name }
+ header.with_title { @status.name_was }
header.with_breadcrumbs([{ href: admin_index_path, text: t("label_administration") },
{ href: admin_settings_work_packages_general_path, text: t(:label_work_package_plural) },
{ href: statuses_path, text: t(:label_status) },
- @status.name])
+ @status.name_was])
end
%>