Skip to content
Snippets Groups Projects
Commit 20ed5677 authored by Anton Shestakov's avatar Anton Shestakov
Browse files

hgweb: show ages in repos' Last modified column in monoblue and gitweb

Index page, which shows the list of available repositories, has a column where
the last modification date for each repo is shown. paper, coal and spartan
already show the dates in relative format (e.g. "2 weeks ago"), because these
styles have the required process_dates() js function call in their footer
templates, which are included on every page. But monoblue and gitweb styles
have more things in the footer templates, such as repo name and its atom/rss
links, so they don't include the footer on index page (as this page doesn't
have a single repo context).

Let's call process_dates() without including the footer.
parent 3de48ff6
No related branches found
No related tags found
No related merge requests found
......@@ -22,5 +22,6 @@
<div class="page_footer">
{motd}
</div>
<script type="text/javascript">process_dates()</script>
</body>
</html>
......@@ -35,5 +35,6 @@
<div id="corner-bottom-right"></div>
</div>
<script type="text/javascript">process_dates()</script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment