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 padding: 0
background-color: transparent background-color: transparent
& > header, & > footer, & > header, & > footer,
h2, nav, .region_filter, .orga_search, .formats, #banner h2, nav, .region_filter, .orga_search, #banner
display: none display: none
ul ul
margin: 0 margin: 0

View File

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

View File

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