I want to add some Ajax-niceness to my Django-coded website.
In my Django code, I use the @login_required decorator from django.contrib.auth.deco
Sounds like a page template possibility.
You could pass a LINK_VIA (or something) that you provide as onClick="return popup(this, 'arg')" or None. Each link would be some text.
LINK_VIA has a value.LINK_VIA is NoneYou could use an {% if %} statement around your tags. This seems wordy.
You could write your own custom tag with for {% link_via %}. I'm not familiar enough with this, but you can provide the link and text as strings and your tag can generate one of two kinds of links.