File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change 22 - if show_backlink
33 .backlink
44 = link_to image_tag(" feather-icons/dist/icons/arrow-left.svg" , alt: " Retour à l’espace de rédaction" ), '/redaction'
5- .lastmodifications
6- - revision = news.versions.first
7- .revision-table
8- .revision-cell
9- = revision.version
10- %p
11- dernière modification
12- %br
13- %span .revision-date
14- = " le #{ I18n .l(revision.created_at, :format => ' %d %B %Y à %H:%M:%S' )} "
5+ - if news.versions.count > 0
6+ .lastmodifications
7+ - revision = news.versions.first
8+ .revision-table
9+ .revision-cell
10+ = revision.version
11+ %p
12+ dernière modification
13+ %br
14+ %span .revision-date
15+ = " le #{ I18n .l(revision.created_at, :format => ' %d %B %Y à %H:%M:%S' )} "
1516 = render 'attendees', attendees: news.attendees, enable_reassign: false
You can’t perform that action at this time.
0 commit comments