Sha256: d394fb8a28067cb80feda129a477b16d559c12212ca8bc18fd1fffba846ae727
Contents?: true
Size: 1.14 KB
Versions: 1
Compression:
Stored size: 1.14 KB
Contents
<%# @subtabs = resque.queues unless partial? || params[:id].nil? %> <h1 class='wi'>Translations</h1> <p class='intro'>The list below contains all the registered translations from an url to target url. To view all translations for a target click on the target URL.</p> <a href="<%= u('/new') %>"> + New Translation </a> <form method="get"> <label>Filter:</label> <input type="text" name="f" value="<%= params[:f] %>"/> <a href="<%= u('/translations') %>"> clear </a> </form> <p class='sub'> Showing <%= @start + 1%> to <%= [@size, @start + Rewritten.per_page].min %> of <b><%= @size %></b> translations <% if params[:f] && params[:f] != '' %> matching: <%= params[:f] %>. <% else %>.<% end %> </p> <table class=''> <tr> <th>from URL (Browser Location)</th> <th>to URL (Your App)</th> </tr> <% for from,to in @translations %> <tr> <td class=''><a href="<%= from %>" target="new"><%= from %></td> <td class=''><a href="<%= u("/to?to=#{escape(to)}") %>"><%= to %></td> </tr> <% end %> </table> <%= partial :next_more, :start => @start, :size => @size %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rewritten-0.1.0 | lib/rewritten/server/views/translations.erb |