allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject allura git commit: [#8227] Personal Dashboard - Reduce ticket table columns
Date Mon, 10 Sep 2018 21:27:43 GMT
Repository: allura
Updated Branches:
  refs/heads/master 20d3d4fa5 -> e859a28c8


[#8227] Personal Dashboard - Reduce ticket table columns


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/e859a28c
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/e859a28c
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/e859a28c

Branch: refs/heads/master
Commit: e859a28c8d24cae66245ff7c8e4ce5a2884f427e
Parents: 20d3d4f
Author: deshani <deshanigeethika@gmail.com>
Authored: Mon Sep 10 21:05:19 2018 +0530
Committer: deshani <deshanigeethika@gmail.com>
Committed: Mon Sep 10 21:05:19 2018 +0530

----------------------------------------------------------------------
 Allura/allura/ext/personal_dashboard/dashboard_main.py           | 2 --
 .../ext/personal_dashboard/templates/sections/tickets.html       | 4 ----
 2 files changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/e859a28c/Allura/allura/ext/personal_dashboard/dashboard_main.py
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/personal_dashboard/dashboard_main.py b/Allura/allura/ext/personal_dashboard/dashboard_main.py
index fc48c7c..f3fb479 100644
--- a/Allura/allura/ext/personal_dashboard/dashboard_main.py
+++ b/Allura/allura/ext/personal_dashboard/dashboard_main.py
@@ -79,12 +79,10 @@ class TicketsSection(DashboardSectionBase):
                 ticket_num=ticket['ticket_num'],
                 url=ticket.url(),
                 summary=ticket['summary'],
-                created_date=ticket['created_date'],
                 mod_date=ticket['mod_date'],
                 reported_by=ticket['reported_by'],
                 assigned_to_id=ticket['assigned_to_id'],
                 assigned_to=ticket['assigned_to'],
-                milestone=ticket['_milestone'],
                 status=ticket['status'])
             for ticket in result.get('tickets')
         ]

http://git-wip-us.apache.org/repos/asf/allura/blob/e859a28c/Allura/allura/ext/personal_dashboard/templates/sections/tickets.html
----------------------------------------------------------------------
diff --git a/Allura/allura/ext/personal_dashboard/templates/sections/tickets.html b/Allura/allura/ext/personal_dashboard/templates/sections/tickets.html
index 6484af0..d837246 100644
--- a/Allura/allura/ext/personal_dashboard/templates/sections/tickets.html
+++ b/Allura/allura/ext/personal_dashboard/templates/sections/tickets.html
@@ -37,11 +37,9 @@
             <tr>
                 <th data-sort="ticket_num_i">#</th>
                 <th data-sort="snippet_s">Summary</th>
-                <th data-sort="created_date_s">Created Date</th>
                 <th data-sort="mod_date_s">Updated Date</th>
                 <th data-sort="reported_by_s">Creator</th>
                 <th data-sort="assigned_to_s">Owner</th>
-                <th data-sort="_milestone_s">Milestone</th>
                 <th data-sort="status_s">Status</th>
             </tr>
             </thead>
@@ -50,11 +48,9 @@
                 <tr>
                     <td><a href="{{ t['url'] }}">{{ t['ticket_num'] }}</a></td>
                     <td><a href="{{ t['url'] }}">{{ t['summary'] }}</a></td>
-                    <td>{{ lib.abbr_date(t['created_date']) }}</td>
                     <td>{{ lib.abbr_date(t['mod_date']) }}</td>
                     <td>{{ t['reported_by'].display_name }}</td>
                     <td>{% if t['assigned_to_id'] %}{{ t['assigned_to'].display_name
}}{% endif %}</td>
-                    <td>{{ t['milestone'] }}</td>
                     <td class="{{ t['status'] }}">{{ t['status'] }}</td>
                 </tr>
             {% endfor %}


Mime
View raw message