diff options
author | dklawren <dklawren@users.noreply.github.com> | 2018-09-12 17:16:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 17:16:30 +0200 |
commit | 4945aec87af9752cc7a5d3ec178b4377bae644a3 (patch) | |
tree | 1b46fe99cbc942f13f571c58dc6a10f52ff4a866 /extensions/MyDashboard/template/en/default | |
parent | 8a73abb9a369e840708dcb6a48be2e19a8e6a284 (diff) | |
download | bugzilla-4945aec87af9752cc7a5d3ec178b4377bae644a3.tar.gz bugzilla-4945aec87af9752cc7a5d3ec178b4377bae644a3.tar.xz |
Bug 1487422 - Remove Phabricator section from MyDashboard and related WebService API
Diffstat (limited to 'extensions/MyDashboard/template/en/default')
-rw-r--r-- | extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl index 5c372db3c..734be28df 100644 --- a/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl +++ b/extensions/MyDashboard/template/en/default/pages/mydashboard.html.tmpl @@ -45,7 +45,7 @@ <td class="field_data"> {{#if removed}} {{#unless added}} - Removed: + Removed: {{/unless}} {{removed}} {{/if}} @@ -127,30 +127,29 @@ %] </div> + [% IF Param('phabricator_enabled') %] + <div class="query_heading requests"> + <a href="[% Param('phabricator_base_uri') %]/differential">Phabricator Review Requests</a> + </div> + [% END %] + [% BLOCK requests_table %] <div id="[% name FILTER html %]_container" class="requests"> - <div class="query_heading">[% title FILTER html_light %]</div> - <span id="[% name FILTER html %]_loading" class="items_found">Loading...</span> - <span id="[% name FILTER html %]_count_refresh" class="bz_default_hidden"> - <span class="items_found" id="[% name FILTER html %]_flags_found">0 reviews found</span> - | <a class="refresh" href="javascript:void(0);" id="[% name FILTER html %]_refresh">Refresh</a> - | <a class="buglist" href="javascript:void(0);" id="[% name FILTER html %]_buglist">Buglist</a> - </span> - <div id="[% name FILTER html %]_table"></div> + <div class="query_heading">[% title FILTER html_light %]</div> + <span id="[% name FILTER html %]_loading" class="items_found">Loading...</span> + <span id="[% name FILTER html %]_count_refresh" class="bz_default_hidden"> + <span class="items_found" id="[% name FILTER html %]_flags_found">0 reviews found</span> + | <a class="refresh" href="javascript:void(0);" id="[% name FILTER html %]_refresh">Refresh</a> + | <a class="buglist" href="javascript:void(0);" id="[% name FILTER html %]_buglist">Buglist</a> + </span> + <div id="[% name FILTER html %]_table"></div> </div> [% END %] - [% ## no-008filter - # requires PhabBugz extension - IF Param('phabricator_enabled'); - title = '<a href="' _ Param('phabricator_base_uri') _ '">Phabricator</a> Reviews Requested of You'; - PROCESS requests_table name='reviews' title=title; - END; - - PROCESS requests_table name='requestee' title='Flags Requested of You'; - PROCESS requests_table name='requester' title='Flags You Have Requested'; - %] + [% PROCESS requests_table name='requestee' title='Flags Requested of You' %] + [% PROCESS requests_table name='requester' title='Flags You Have Requested' %] </div> + <div style="clear:both;"></div> [% IF user.showmybugslink OR user.queries.size OR user.queries_subscribed.size %] <hr> |