RSS link better presented

This commit is contained in:
echarp 2018-09-18 10:37:41 +02:00
parent 85478c1424
commit 5aa5037d58
3 changed files with 10 additions and 8 deletions

View File

@ -18,7 +18,7 @@ html
padding: 0
background-color: transparent
& > header, & > footer,
h2, nav, .region_filter, .orga_search, .formats, #banner
h2, nav, .region_filter, .orga_search, #banner
display: none
ul
margin: 0

View File

@ -3,7 +3,9 @@
white-space: nowrap
table
margin: 1em auto
clear: both
margin-top: 1em
margin-bottom: 1em
border-spacing: 2px
th
padding: 0.3em 0.6em

View File

@ -1,7 +1,12 @@
%h2
%em.fa.fa-exchange
%em.fa.fa-history
= title t '.title'
.links
= link_to versions_path(format: :rss) do
%em.fa.fa-rss
= t '.feed'
%table.list.autopagerize_page_element
%thead
%th.event
@ -51,8 +56,3 @@
%tfoot
%tr
%th(colspan='6')= paginate @versions
.formats
= link_to versions_path(format: :rss) do
%em.fa.fa-rss
= t '.feed'