This website works better with JavaScript.
Home
Help
Sign In
ben
/
calefaction
mirror of
https://github.com/earwig/calefaction
Watch
1
Star
1
Fork
0
Code
Releases
0
Activity
Browse Source
Don't link back to current page.
master
Ben Kurtovic
8 years ago
parent
aaa5d5ba6a
commit
9acd3a85b8
2 changed files
with
11 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
templates/campaigns/navitem.mako
+5
-1
templates/members/navitem.mako
+ 6
- 1
templates/campaigns/navitem.mako
View 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
View 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
Write
Preview
Loading…
Cancel
Save