app/views/elt/show.rhtml in parlement-0.11 vs app/views/elt/show.rhtml in parlement-0.12

- old
+ new

@@ -1,13 +1,13 @@ <% voters = Choice.count :select => 'person_id', :distinct => true %> <div class="sidebar"> - <h3 class="boxTitle">Identity</h3> + <h3 class="boxTitle"><%= _('Identity')%></h3> <div class="box" id="identity"><%= render :partial => 'account/show' %></div> - <h3 class="boxTitle">Filter</h3> + <h3 class="boxTitle"><%= _('Filter') %></h3> <div class="box"> - <div>All voters: <span class="result"><%= voters %></span></div> + <div><%= _('All voters:') %> <span class="result"><%= voters %></span></div> <form id="filterForm" name="filterForm"> <a onclick="return decrementFilter()" href="#" accesskey="<">&lt;</a> <select id="filter" name="filter" onchange="setFilter(this.options[this.selectedIndex].value)"> <%= options_for_select [["", -voters]] %> @@ -17,27 +17,106 @@ <%= submit_tag 'Ok' %> </form> <script>setFilterFromCookie();</script> </div> - <h3 class="boxTitle">Subscribers</h3> + <h3 class="boxTitle"><%= _('Subscribers') %></h3> <div class="box"><%= render :partial => '/subscriber/list' %></div> - <h3 class="boxTitle">Highest posts</h3> + <h3 class="boxTitle"><%= _('Highest posts') %></h3> <div class="box listByVote"><%= render :partial => '/elt/listByVote' %></div> - <h3 class="boxTitle">Latest posts</h3> + <h3 class="boxTitle"><%= _('Latest posts') %></h3> <div class="box listByDate"><%= render :partial => '/elt/listByDate' %></div> - <h3 class="boxTitle">Search</h3> + <h3 class="boxTitle"><%= _('Links') %></h3> + <div class="box"> + <h4><%= _('Personal') %></h4> + <div class="boxLine"><a href="http://www.alivrouvert.com"> + À Livr&#8217; Ouvert</a></div> + <div class="boxLine"><a href="http://www.baratissus.com"> + Le bar à tissus</a></div> + + <div class="boxLine"><a href="http://echarp.org/blog"> + echarp's blog</a></div> + <div class="boxLine"><a href="http://www-inf.int-evry.fr/~olberger/weblog/"> + Olivier's</a></div> + <div class="boxLine"><a href="http://www.couchet.org/blog/"> + mad&#8217;s</a></div> + <div class="boxLine"><a href="http://www.grassouille.org/blog/"> + benj&#8217;s</a></div> + + <h4><%= _('Democracy') %></h4> + <div class="boxLine"><a href="http://worldblu.com"> + World BLU</a></div> + <div class="boxLine"><a href="http://groups.google.com/group/top-politics"> + top politics</a></div> + <div class="boxLine"><a href="http://www.tdge.org"> + world Parliament Experiment</a></div> + <div class="boxLine"><a href="http://groups.google.com/group/worldcit"> + The Community of World Citizens</a></div> + <div class="boxLine"><a href="http://world-wide.democracy.net"> + Worldwide Direct Democracy Movement</a></div> + </div> + + <h3 class="boxTitle"><%= _('Search') %></h3> <div class="box"> <form action="http://google.com/search"> <input type="hidden" name="q" value="site:<%= ActionMailer::Base.smtp_settings[:domain] %>"/> <input type="text" name="q"/> <%= submit_tag 'OK' %> </form> </div> + + <!-- + <table width="100%" bgcolor="#FFFFFF" style="font-size: smaller"> + <tr> + <td align="center"> + <img src="http://www.acthum.net/directdemocracy/images/dd-sml.gif"> + </td> + <td colspan="3"> + <b><font size="3">DIRECT DEMOCRACY</font></b> + <br/> + <font size="4">Web Ring</font> + </td> + </tr> + <tr> + <td align="center"> + <a href="http://www.acthum.net/directdemocracy/"> + <font color="#0000FF">Home</font> + </a> + </td> + <td width="47%" align="center" colspan="2"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/rand.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Random Site</font></a> + </td> + <td width="23%" align="center"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/list.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Site List</font> + </a> + </td> + </tr> + <tr> + <td align="center"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/prev.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Previous</font></a> + </td> + <td width="24%" align="center"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/next.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Next</font></a> + </td> + <td width="23%" align="center"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/prev5.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Previous 5</font></a> + </td> + <td width="23%" align="center"> + <a href="http://www.software-zone.com/cgi-bin/ringlink/next5.pl?ringid=common1;siteid=parlement"> + <font color="#0000FF">Next 5</font></a> + </td> + </tr> + </table> + --> </div> <% flash.each do |key, value| %> <div class="<%= key %>"><%= value %></div> <% end %>