Mercurial > wikked
changeset 5:c87e7de7ed31
More consistent UI for the incoming links page.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 19 Dec 2012 20:29:14 -0800 |
parents | 036f39c535d9 |
children | 9a77a8fbbe40 |
files | wikked/static/tpl/inlinks-page.html |
diffstat | 1 files changed, 11 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/wikked/static/tpl/inlinks-page.html Wed Dec 19 07:53:31 2012 -0800 +++ b/wikked/static/tpl/inlinks-page.html Wed Dec 19 20:29:14 2012 -0800 @@ -6,16 +6,19 @@ </nav> <article class="container_12"> <div class="page grid_12"> - <h1><span class="decorator">Linking To:</span> {{meta.title}}</h1> + <h1>{{meta.title}} <span class="decorator">Incoming Links</span></h1> + <p>The following pages link to <a href="{{url_read}}">{{meta.title}}</a>:</p> + <ul> {{#each in_links}} - <div> - {{#if missing}} - <p><a class="wiki-link missing" href="/#/edit/{{url}}">{{url}}</a></p> - {{else}} - <p><a class="wiki-link" href="/#/read/{{url}}">{{meta.title}}</a></p> - {{/if}} - </div> + <li> + {{#if missing}} + <a class="wiki-link missing" href="/#/edit/{{url}}">{{url}}</a> + {{else}} + <a class="wiki-link" href="/#/read/{{url}}">{{meta.title}}</a> + {{/if}} + </li> {{/each}} + </ul> </div> </article> </div>