Show More
@@ -751,7 +751,8 b' class MyAccountView(BaseAppView, DataGri' | |||
|
751 | 751 | 'title': _render('pullrequest_title', pr.title, pr.description), |
|
752 | 752 | 'description': h.escape(pr.description), |
|
753 | 753 | 'updated_on': _render('pullrequest_updated_on', |
|
754 |
h.datetime_to_time(pr.updated_on) |
|
|
754 | h.datetime_to_time(pr.updated_on), | |
|
755 | pr.versions_count), | |
|
755 | 756 | 'updated_on_raw': h.datetime_to_time(pr.updated_on), |
|
756 | 757 | 'created_on': _render('pullrequest_updated_on', |
|
757 | 758 | h.datetime_to_time(pr.created_on)), |
@@ -121,7 +121,8 b' class RepoPullRequestsView(RepoAppView, ' | |||
|
121 | 121 | 'title': _render('pullrequest_title', pr.title, pr.description), |
|
122 | 122 | 'description': h.escape(pr.description), |
|
123 | 123 | 'updated_on': _render('pullrequest_updated_on', |
|
124 |
h.datetime_to_time(pr.updated_on) |
|
|
124 | h.datetime_to_time(pr.updated_on), | |
|
125 | pr.versions_count), | |
|
125 | 126 | 'updated_on_raw': h.datetime_to_time(pr.updated_on), |
|
126 | 127 | 'created_on': _render('pullrequest_updated_on', |
|
127 | 128 | h.datetime_to_time(pr.created_on)), |
@@ -397,7 +397,10 b'' | |||
|
397 | 397 | % endif |
|
398 | 398 | </%def> |
|
399 | 399 | |
|
400 | <%def name="pullrequest_updated_on(updated_on)"> | |
|
400 | <%def name="pullrequest_updated_on(updated_on, pr_version=None)"> | |
|
401 | % if pr_version: | |
|
402 | <code>v${pr_version}</code> | |
|
403 | % endif | |
|
401 | 404 | ${h.age_component(h.time_to_utcdatetime(updated_on))} |
|
402 | 405 | </%def> |
|
403 | 406 |
General Comments 0
You need to be logged in to leave comments.
Login now