Sfoglia il codice sorgente

Don't link back to current page.

master
Ben Kurtovic 8 anni fa
parent
commit
9acd3a85b8
2 ha cambiato i file con 11 aggiunte e 2 eliminazioni
  1. +6
    -1
      templates/campaigns/navitem.mako
  2. +5
    -1
      templates/members/navitem.mako

+ 6
- 1
templates/campaigns/navitem.mako Vedi File

@@ -1 +1,6 @@
Campaign: <a href="${url_for('campaigns.campaign')}">${current}</a>
Campaign:
% if request.url_rule.endpoint == "campaigns.campaign":
<strong>${current}</strong>
% else
<a href="${url_for('campaigns.campaign')}">${current}</a>
% endif

+ 5
- 1
templates/members/navitem.mako Vedi File

@@ -1 +1,5 @@
<a href="${url_for('members.members')}">Members</a>
% if request.url_rule.endpoint == "members.members":
<strong>Members</strong>
% else
<a href="${url_for('members.members')}">Members</a>
% endif

Caricamento…
Annulla
Salva