Explorar el Código

Don't link back to current page.

master
Ben Kurtovic hace 8 años
padre
commit
9acd3a85b8
Se han modificado 2 ficheros con 11 adiciones y 2 borrados
  1. +6
    -1
      templates/campaigns/navitem.mako
  2. +5
    -1
      templates/members/navitem.mako

+ 6
- 1
templates/campaigns/navitem.mako Ver fichero

@@ -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 Ver fichero

@@ -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

Cargando…
Cancelar
Guardar