Sha256: 15a280f51e07f70a1ee4bb0921ce9509a74c8ef1d5c9f03142f7d61852c1b318
Contents?: true
Size: 1.39 KB
Versions: 2
Compression:
Stored size: 1.39 KB
Contents
<% @title = "#{web.name} Glossary" %> <%= sub_template "top" %> <h3><%= @results.length > 0 ? @results.length : 'no' %> acronym<%= 's' unless @results.length == 1 %> found.</h3> <% if @results.length > 0 %> <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><b><%= acronym %></b></td> <td><%= definition %></td> <td><%= pages.join(', ') %></td> </tr> <% end %> </table> <% else %> <p>The Glossary page picks up on acronyms (abbreviations) defined in the Wiki. If you're using textile formatting, acronyms can be defined like so:</p> <pre>TLA(Three Letter Acroynm)</pre> <p>This page will then display a list of the acronyms, their definition and links to pages that define / reference them.</p> <p>Note that Pimki picks up textile acronyms only. I have not found if there is a way to define acronyms/abbr tags in Markdown, and no search for embedded HTML is made.</p> <% end %> </div> <%= sub_template "bottom" %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
Pimki-1.8.092 | app/views/wiki/glossary.rhtml |
Pimki-1.8.200 | app/views/wiki/glossary.rhtml |