29 lines
868 B
Plaintext
29 lines
868 B
Plaintext
.qi_header
|
|
.right= link_to ic(:plus)+' Ajouter une url courte', new_admin_tiny_url_path, :class => "btn btn-primary"
|
|
%h1
|
|
|
|
Url courtes
|
|
|
|
|
|
.qi_row
|
|
.qi_pannel.qi_plain.padding
|
|
%h1 Liste des urls courtes
|
|
|
|
%table.stat_table.table.table-striped.table-hover
|
|
%tr
|
|
%th Url courte
|
|
%th Url
|
|
%th Nbr vues
|
|
%th
|
|
|
|
|
|
- @tiny_urls.each do |tiny_url|
|
|
%tr
|
|
%td= link_to "http://peractus.quartz.xyz"+tiny_url_path(tiny_url.slug),"http://peractus.quartz.xyz"+tiny_url_path(tiny_url.slug)
|
|
%td= tiny_url.url
|
|
%td= tiny_url.nbr_views
|
|
%td.actions
|
|
= link_to i(:"trash-o"), [:admin, tiny_url], method: :delete, data: { confirm: 'Voulez-vous vraiment supprimer cette url ? Le lien deviendra mort.' }
|
|
= link_to i(:pencil), edit_admin_tiny_url_path(tiny_url)
|
|
|