Sha256: 87e12b384ed304d06177cabdcc331941d6a011d177c104b2ee7dc1e8dfdaf5c8
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
<%= render 'url_root' %> <p> <%= link_to _("Нова справка") , visual_query.new_queries_path %> </p> <p> <%= link_to _("Нова SQL справка") , visual_query.new_sql_queries_path %> </p> <%- if @custom_reports -%> <table> <tr> <th><%= _('Програмирани рапорти') %></th> </tr> <%- @custom_reports.each do |custom_report| -%> <tr class="<%= cycle('even','odd') %>"> <td><%= link_to custom_report, custom_report_path(custom_report) %></td> </tr> <%- end -%> </table> <%- end -%> <table> <tr> <th colspan="10"><%= _('Справки') %></th> </tr> <%- @queries.each do |query| -%> <tr class="<%= cycle('even','odd') %>"> <td><%= link_to query.name, visual_query.show_queries_path(name: query.name) %></td> <%- unless query.locked? -%> <td><%= link_to _('Редактиране на SQL'), visual_query.edit_sql_queries_path(name: query.name) %></td> <td><%= link_to _("Изтриване"), visual_query.show_queries_path(name: query.name), :method => "delete" %> </td> <%- else -%> <td class="readonly" colspan="2"><%= _('Заключена') %></td> <%- end -%> </tr> <%- end -%> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
visual_query-0.3.0 | app/views/queries/index.html.erb |