Mercurial > moin > 2.0
changeset 2828:444633f11059
location display: never abbreviate the last segment (== name of the current item or subitem)
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 19 Oct 2014 02:52:34 +0200 |
parents | 66b6120baa5c |
children | f6ee7dd9f400 f5b310b4dcd1 |
files | MoinMoin/templates/layout.html MoinMoin/themes/basic/templates/layout.html |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/templates/layout.html Sun Oct 19 01:50:37 2014 +0200 +++ b/MoinMoin/templates/layout.html Sun Oct 19 02:52:34 2014 +0200 @@ -89,7 +89,7 @@ {% else %} <ul class="moin-bcs-item"> <li><a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}> - {{ segment_name|shorten_fqname }}</a> + {{ segment_name }}</a> <ul class="moin-bcs-subitems"> {% for fq_name in theme_supp.get_fqnames(segment_name) -%} <li><a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">{{ fq_name|shorten_fqname(length=25) }}</a></li>
--- a/MoinMoin/themes/basic/templates/layout.html Sun Oct 19 01:50:37 2014 +0200 +++ b/MoinMoin/themes/basic/templates/layout.html Sun Oct 19 02:52:34 2014 +0200 @@ -228,7 +228,7 @@ {{ title_name }} {% else %} <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}> - {{ segment_name|shorten_fqname }} + {{ segment_name }} </a> {%- endif %} {%- endif %}