[ros-diffs] [cfinck] 30560: - Add a "Saved Searches" list to the left menu - Remove the language switcher TODO If this should be possible, we would need to add localized Bugzilla templates for every language (effectively a huge overkill)
cfinck at svn.reactos.org
cfinck at svn.reactos.org
Sun Nov 18 23:23:26 CET 2007
Author: cfinck
Date: Mon Nov 19 01:23:25 2007
New Revision: 30560
URL: http://svn.reactos.org/svn/reactos?rev=30560&view=rev
Log:
- Add a "Saved Searches" list to the left menu
- Remove the language switcher TODO
If this should be possible, we would need to add localized Bugzilla templates for every language (effectively a huge overkill)
Modified:
trunk/web/reactos.org/htdocs/bugzilla/template/en/default/global/header.html.tmpl
Modified: trunk/web/reactos.org/htdocs/bugzilla/template/en/default/global/header.html.tmpl
URL: http://svn.reactos.org/svn/reactos/trunk/web/reactos.org/htdocs/bugzilla/template/en/default/global/header.html.tmpl?rev=30560&r1=30559&r2=30560&view=diff
==============================================================================
--- trunk/web/reactos.org/htdocs/bugzilla/template/en/default/global/header.html.tmpl (original)
+++ trunk/web/reactos.org/htdocs/bugzilla/template/en/default/global/header.html.tmpl Mon Nov 19 01:23:25 2007
@@ -269,29 +269,29 @@
</ol>
<p></p>
-[%# TODO we don't support switching languages yet
-<div class="navTitle">Language</div>
- <ol>
- <li>
- <div align="center">
- <select id="select" size="1" name="select" class="selectbox" onchange="window.open(this.options[this.selectedIndex].value,'_main')">
- <optgroup label="current language">
- <option value="#" selected="selected">English</option>
- </optgroup>
- <optgroup label="most popular">
- <option value="http://www.reactos.org/./[#inc_path_lang]../en/developer.htm">English</option>
- <option value="http://www.reactos.org/./[#inc_path_lang]../de/developer.htm">Deutsch</option>
- <option value="http://www.reactos.org/./[#inc_path_lang]../fr/developer.htm">Français</option>
- </optgroup>
- <optgroup label="other languages">
- <option value="#"><placeholder></option>
- </optgroup>
- </select>
- </div>
- </li>
- </ol>
- <p></p>
-%]
+[% IF user.login %]
+<div class="navTitle">Saved Searches</div>
+ <ol>
+ [% IF user.showmybugslink %]
+ [% filtered_username = user.login FILTER url_quote %]
+ <li><a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My [% terms.Bugs %]</a></li>
+ [% print_pipe = 1 %]
+ [% END %]
+
+ [% FOREACH q = user.queries %]
+ [% IF q.link_in_footer %]
+ <li><a href="buglist.cgi?cmdtype=runnamed&namedcmd=[% q.name FILTER url_quote %]">[% q.name FILTER html %]</a></li>
+ [% print_pipe = 1 %]
+ [% END %]
+ [% END %]
+
+ [% FOREACH q = user.queries_subscribed %]
+ <li><a href="buglist.cgi?cmdtype=dorem&remaction=run&namedcmd=[% q.name FILTER url_quote %]&sharer_id=[% q.user.id FILTER url_quote %]" title="Shared by [% q.user.identity FILTER html %]">[% q.name FILTER html FILTER no_break %]</a></li>
+ [% print_pipe = 1 %]
+ [% END %]
+ </ol>
+ <p></p>
+[% END %]
<div class="navTitle">Account</div>
<ol>
More information about the Ros-diffs
mailing list