Sha256: a75153a8467e5bf7a546e2094777bc9864f277cb0256b9b666f78f1243460bdf

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

<%
   @title = "#{web.name} Glossary"
%>
<%= sub_template "top" %>

<h3><%= @results.length > 0 ? @results.length : 'no' %> acronym<%= 's' unless @results.length == 1 %> found.</h3>

<p>
<table vorder="0"> 
     <tr>
       <td style="border-bottom: thin solid grey; font-weight:bold; font-variant:italic; padding-right:10px;">Acronym</td>
       <td style="border-bottom: thin solid grey; font-weight:bold; font-variant:italic; padding-right:10px;">Definition</td>
       <td style="border-bottom: thin solid grey; font-weight:bold; font-variant:italic; padding-right:10px;">Appears on</td>
     </tr>
<% @results.each do |(acronym, definition), *pages| %>
     <tr>
       <td width="10%" valign="top"><b><%= acronym %></b></td>
       <td width="40%" valign="top"><%= definition %></td>
       <td width="50%"><%= pages.join(', ') %><br/>
           <small><%= (@undefined_on[acronym] - pages[0]).join(', ') if @undefined_on[acronym] %></small>
       </td>
     </tr>
<% end %>
</table>
</div>
<%= sub_template "bottom" %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
Pimki-1.7.092 app/views/wiki/glossary.rhtml