From f348eeeca88145c0e9c6f83ff0ab39804c753d26 Mon Sep 17 00:00:00 2001 From: Romano Licker Date: Thu, 1 Dec 2011 10:32:27 +0100 Subject: [PATCH] [#742] add hidden span containing the parent id of the current ticket this information is usually available through indentation of the subject. --- app/views/issues/_list.rhtml | 7 ++++++- config/locales/de.yml | 1 + config/locales/en.yml | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/issues/_list.rhtml b/app/views/issues/_list.rhtml index 5f3c6138a8..8d2cf4708c 100644 --- a/app/views/issues/_list.rhtml +++ b/app/views/issues/_list.rhtml @@ -27,7 +27,12 @@ <% end %> "> <%= check_box_tag("ids[]", issue.id, false, :id => nil) %> - <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> + + <% if parent_issue = issue.parent_issue_id %> + <%=l(:description_subissue) + ' ' + l(:label_issue) + ' #' + parent_issue.to_s %> + <% end -%> + <%= link_to issue.id, :controller => 'issues', :action => 'show', :id => issue %> + <% query.columns.each do |column| %><%= content_tag 'td', column_content(column, issue), :class => column.name %><% end %> <% end -%> diff --git a/config/locales/de.yml b/config/locales/de.yml index ca81eab5fe..69708e8098 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1001,3 +1001,4 @@ de: description_date_range_interval: Zeitraum durch Start- und Enddatum festlegen description_date_from: Startdatum eintragen description_date_to: Enddatum eintragen + description_subissue: Unterticket von diff --git a/config/locales/en.yml b/config/locales/en.yml index 775f7bf7ca..b440469698 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -983,3 +983,4 @@ en: description_date_range_interval: Choose range by selecting start and end date description_date_from: Enter start date description_date_to: Enter end date + description_subissue: Subissue of