mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 04:27:59 +01:00
15 lines
344 B
Text
15 lines
344 B
Text
h1 = @static_page.title
|
|
p
|
|
' Last updated
|
|
=> pretty_time(@static_page.updated_at)
|
|
|
|
p
|
|
=> link to: ~p"/pages/#{@static_page}/history" do
|
|
i.fa.fa-history>
|
|
' Revision history
|
|
= if can?(@conn, :edit, Philomena.StaticPages.StaticPage) do
|
|
=< link to: ~p"/pages/#{@static_page}/edit" do
|
|
i.fa.fa-edit>
|
|
' Edit
|
|
|
|
= @rendered
|