changeset 3d748d8aff2a in bugs.tryton.org:default
details: https://hg.tryton.org/bugs.tryton.org?cmd=changeset&node=3d748d8aff2a
description:
Display component in list of issues
diffstat:
html/home.html | 2 +-
html/issue.index.html | 16 ++++++++--------
html/layout/navigation.html | 2 +-
html/layout/page.html | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
diffs (83 lines):
diff -r 1fdcafaba6fc -r 3d748d8aff2a html/home.html
--- a/html/home.html Sun May 16 22:24:37 2021 +0200
+++ b/html/home.html Thu Jun 17 12:55:27 2021 +0200
@@ -2,7 +2,7 @@
db.issue.renderWith('index',
sort=[('-', 'activity')], group=[('+', 'priority')],
filter=['status'],
- columns=['id','activity','title','nosy','status'],
+ columns=['id','activity','title','component','nosy','status'],
filterspec={'status':['-1','1','2','3','4','5','6','7']}
)|u|safe
}}
diff -r 1fdcafaba6fc -r 3d748d8aff2a html/issue.index.html
--- a/html/issue.index.html Sun May 16 22:24:37 2021 +0200
+++ b/html/issue.index.html Thu Jun 17 12:55:27 2021 +0200
@@ -30,6 +30,9 @@
{% if request.show.activity %}
<th scope="col">{% trans %}Activity{% endtrans %}</th>
{% endif %}
+ {% if request.show.title %}
+ <th scope="col">{% trans %}Title{% endtrans %}</th>
+ {% endif %}
{% if request.show.actor %}
<th scope="col">{% trans %}Actor{% endtrans %}</th>
{% endif %}
@@ -39,9 +42,6 @@
{% if request.show.component %}
<th scope="col">{% trans %}Component{% endtrans %}</th>
{% endif %}
- {% if request.show.title %}
- <th scope="col">{% trans %}Title{% endtrans %}</th>
- {% endif %}
{% if request.show.status %}
<th scope="col">{% trans %}Status{% endtrans %}</th>
{% endif %}
@@ -82,6 +82,11 @@
{% if request.show.activity %}
<td>{{ issue.activity.reldate()|u }}</td>
{% endif %}
+ {% if request.show.title %}
+ <td>
+ <a href='issue{{ issue.id }}'>{{ issue.title.plain(hyperlink=0)|u
}}</a>
+ </td>
+ {% endif %}
{% if request.show.actor %}
<td>{{ issue.actor.plain()|u }}</td>
{% endif %}
@@ -91,11 +96,6 @@
{% if request.show.component %}
<td>{{ issue.component.plain()|u }}</td>
{% endif %}
- {% if request.show.title %}
- <td>
- <a href='issue{{ issue.id }}'>{{ issue.title.plain(hyperlink=0)|u
}}</a>
- </td>
- {% endif %}
{% if request.show.status %}
<td>{{ issue.status.plain()|u }}</td>
{% endif %}
diff -r 1fdcafaba6fc -r 3d748d8aff2a html/layout/navigation.html
--- a/html/layout/navigation.html Sun May 16 22:24:37 2021 +0200
+++ b/html/layout/navigation.html Thu Jun 17 12:55:27 2021 +0200
@@ -147,7 +147,7 @@
'@sort': '-activity',
'@group': 'priority',
'@filter': 'status,assignedto',
- '@columns': 'id,activity,title,nosy,status',
+ '@columns': columns,
'@search_text': '',
'status': status_notresolved,
'assignedto': request.user.id,
diff -r 1fdcafaba6fc -r 3d748d8aff2a html/layout/page.html
--- a/html/layout/page.html Sun May 16 22:24:37 2021 +0200
+++ b/html/layout/page.html Thu Jun 17 12:55:27 2021 +0200
@@ -1,6 +1,6 @@
{% set status_notresolved = '-1,1,2,3,4,5,6,7' -%}
-{% set columns = 'id,activity,title,nosy,status' -%}
-{% set columns_showall = 'id,activity,title,nosy,status' -%}
+{% set columns = 'id,activity,title,component,nosy,status' -%}
+{% set columns_showall = 'id,activity,title,component,nosy,status' -%}
<!doctype html>
<html>
<head>