Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2017-05-18 22:57:47 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-06-30 11:14:14 +0300
commit7df73f5aaa22b8ebead3d9f6f46ed5e8e4f0b5d6 (patch)
tree1cfa1aacd24f229a53c8461852e3884c56e121a4 /layouts
parent940f5662d21b5fc4beff5b85d5751e315c514c89 (diff)
WIP: Add last updated entry
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/default.html b/layouts/default.html
index b76b7152..2c7c33c9 100644
--- a/layouts/default.html
+++ b/layouts/default.html
@@ -18,6 +18,12 @@
</ul>
<% end %>
<% end %>
+ <% if @item[:last_updated] %>
+ <p class="last-updated">
+ <i class="fa fa-clock-o" aria-hidden="true"></i>
+ Last updated <%= @item[:last_updated] %>
+ </p>
+ <% end %>
<%= yield %>
<hr>
<div class="edit-on">