Mercurial > dottes
diff dottes.html.tuneindex @ 726:833e6185b6a2 build-default-282
Add fulltitle to template fields.
fulltitle is title + [(" subtitle ")"] if subtitle is present.
To do: extend full title to next and prev. this means exposing it
in abcfield.py.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 11 Oct 2017 17:09:31 +0100 |
parents | dfdea8422368 |
children | d6e2a281cceb |
line wrap: on
line diff
--- a/dottes.html.tuneindex Wed Oct 11 17:03:29 2017 +0100 +++ b/dottes.html.tuneindex Wed Oct 11 17:09:31 2017 +0100 @@ -1,16 +1,16 @@ <div class="dottes-tune-list-item"> <div class="dottes-tune-list-item-link"> - <a class="dottes-tune-link" href="${name}.html">${title}</a> + <a class="dottes-tune-link" href="${name}.html">${fulltitle}</a> </div> <div class="dottes-tune-list-item-learner-link"> <a class="dottes-tune-link" href="learner-${name}.html"> - <img class="dottes-tune-table-image" src="../img/learner.png" alt="Learner"> + <img class="dottes-tune-table-image" src="../img/learner.png" alt="Learner page" title="Learner page for ${fulltitle}"> </a> </div> <div class="dottes-tune-list-item-image"> <a href="${name}.html"> <img class="dottes-tune-table-image" src="firstline-${name}.png" - alt="${title} first line"> + alt="${fulltitle} first line" title="${fulltitle} first line"> </a> </div> </div>