Dzahn has submitted this change and it was merged.
Change subject: Revert "[4.4] Update custom search-links so Saved Reports are
displayed"
......................................................................
Revert "[4.4] Update custom search-links so Saved Reports are displayed"
This reverts commit 8298d7732e0272f2404e7e0b9a644772ab6919ab.
Change-Id: I3560dab4396b191d99fe75d2f2a90c716c896e08
---
M template/en/custom/global/search-links.html.tmpl
1 file changed, 27 insertions(+), 48 deletions(-)
Approvals:
Dzahn: Verified; Looks good to me, approved
diff --git a/template/en/custom/global/search-links.html.tmpl
b/template/en/custom/global/search-links.html.tmpl
index 9c6f26d..ddbb19a 100644
--- a/template/en/custom/global/search-links.html.tmpl
+++ b/template/en/custom/global/search-links.html.tmpl
@@ -1,52 +1,31 @@
-[%# This file is template/en/default/global/useful-links.html.tmpl in upstream
%]
- [%# Saved searches %]
-
- [% IF user.showmybugslink OR user.queries.size
- OR user.queries_subscribed.size
- %]
- <li id="links-saved">
- <ul class="links">
- [% IF user.showmybugslink %]
- [% filtered_username = user.login FILTER uri %]
- <li><a href="[% Param('mybugstemplate').replace('%userid%',
filtered_username) %]">My [% terms.Bugs %]</a></li>
- [% print_pipe = 1 %]
- [% END %]
+[%# Saved searches %]
- [% FOREACH q = user.queries %]
- [% IF q.link_in_footer %]
- <li>
- <a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name
FILTER uri %]">[% q.name FILTER html %]</a>
- </li>
- [% END %]
- [% END %]
- [% FOREACH q = user.queries_subscribed %]
- [% IF new_line %]
- <br>
- [% new_line = 0 %]
- [% END %]
- <li>
- <a href="buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=
- [% q.name FILTER uri %]&sharer_id=
- [% q.user.id FILTER uri %]"
- class="shared"
- title="Shared by [% q.user.identity FILTER html %]"
- >[% q.name FILTER html FILTER %]</a>
- </li>
- [% END %]
- </ul>
- </li>
- [% END %]
+ [% IF user.showmybugslink %]
+ [% filtered_username = user.login
FILTER uri %]
+ <li><a href="[%
Param('mybugstemplate').replace('%userid%', filtered_username) %]">My [%
terms.Bugs %]</a></li>
+ [% END %]
- [% IF user.reports.size %]
- <li id="reports-saved">
- <ul class="links">
- [% FOREACH r = user.reports %]
- <li>
- <a href="report.cgi?[% r.query FILTER html %]&saved_report_id=
- [%~ r.id FILTER uri %]">[% r.name FILTER html %]</a></li>
- [% END %]
- </ul>
- </li>
- [% END %]
+ [% FOREACH q = user.queries %]
+ [% IF q.link_in_footer %]
+ <li>
+ <a
href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER uri %]">[%
q.name FILTER html %]</a>
+ </li>
+ [% END %]
+ [% END %]
+ [% FOREACH q = user.queries_subscribed %]
+ [% IF new_line %]
+ <br>
+ [% new_line = 0 %]
+ [% END %]
+ <li>
+ <a
href="buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=
+ [% q.name FILTER uri
%]&sharer_id=
+ [% q.user.id FILTER uri
%]"
+ class="shared"
+ title="Shared by [%
q.user.identity FILTER html %]"
+ >[% q.name FILTER html
%]
+ </a>
+ </li>
+ [% END %]
--
To view, visit https://gerrit.wikimedia.org/r/113048
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I3560dab4396b191d99fe75d2f2a90c716c896e08
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/bugzilla/modifications
Gerrit-Branch: master
Gerrit-Owner: Dzahn <[email protected]>
Gerrit-Reviewer: Aklapper <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits