##// END OF EJS Templates
pr: adding last updated column to user pull request list, fixes #4162
lisaq -
r668:97b97f9f default
parent child Browse files
Show More
@@ -24,7 +24,7 b''
24 <th>${_('Author')}</th>
24 <th>${_('Author')}</th>
25 <th></th>
25 <th></th>
26 <th>${_('Title')}</th>
26 <th>${_('Title')}</th>
27 <th class="td-time">${_('Opened On')}</th>
27 <th class="td-time">${_('Last Update')}</th>
28 <th></th>
28 <th></th>
29 </thead>
29 </thead>
30 %for pull_request in c.my_pull_requests:
30 %for pull_request in c.my_pull_requests:
@@ -54,9 +54,8 b''
54 <br/>${pull_request.description}</div>
54 <br/>${pull_request.description}</div>
55 </div>
55 </div>
56 </td>
56 </td>
57
58 <td class="td-time">
57 <td class="td-time">
59 ${h.age_component(pull_request.created_on)}
58 ${h.age_component(pull_request.updated_on)}
60 </td>
59 </td>
61 <td class="td-action repolist_actions">
60 <td class="td-action repolist_actions">
62 ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')}
61 ${h.secure_form(url('pullrequest_delete', repo_name=pull_request.target_repo.repo_name, pull_request_id=pull_request.pull_request_id),method='delete')}
@@ -89,7 +88,7 b''
89 <th>${_('Author')}</th>
88 <th>${_('Author')}</th>
90 <th></th>
89 <th></th>
91 <th>${_('Title')}</th>
90 <th>${_('Title')}</th>
92 <th class="td-time">${_('Opened On')}</th>
91 <th class="td-time">${_('Last Update')}</th>
93 </thead>
92 </thead>
94 %for pull_request in c.participate_in_pull_requests:
93 %for pull_request in c.participate_in_pull_requests:
95 <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper">
94 <tr class="${'closed' if pull_request.is_closed() else ''} prwrapper">
@@ -118,9 +117,8 b''
118 <br/>${pull_request.description}</div>
117 <br/>${pull_request.description}</div>
119 </div>
118 </div>
120 </td>
119 </td>
121
122 <td class="td-time">
120 <td class="td-time">
123 ${h.age_component(pull_request.created_on)}
121 ${h.age_component(pull_request.updated_on)}
124 </td>
122 </td>
125 </tr>
123 </tr>
126 %endfor
124 %endfor
@@ -105,7 +105,7 b''
105 { data: {"_": "comments",
105 { data: {"_": "comments",
106 "sort": "comments_raw"}, title: "", className: "td-comments", orderable: false},
106 "sort": "comments_raw"}, title: "", className: "td-comments", orderable: false},
107 { data: {"_": "updated_on",
107 { data: {"_": "updated_on",
108 "sort": "updated_on_raw"}, title: "${_('Updated on')}", className: "td-time" }
108 "sort": "updated_on_raw"}, title: "${_('Last Update')}", className: "td-time" }
109 ],
109 ],
110 language: {
110 language: {
111 paginate: DEFAULT_GRID_PAGINATION,
111 paginate: DEFAULT_GRID_PAGINATION,
General Comments 0
You need to be logged in to leave comments. Login now