1 {% extends "user.html" %}
2 <!-- user_subscriptions.html -->
8 <script type="text/javascript">
9 function enableSettings() {
10 $("div#subscriptions_settings").show();
11 $("div#subscriptions_management").hide();
13 $("a#subscriptions_settings_button").addClass('on');
14 $("a#subscriptions_management_button").removeClass("on");
16 //location.reload(true);
19 function enableManagement() {
20 $("div#subscriptions_settings").hide();
21 $("div#subscriptions_management").show();
23 $("a#subscriptions_settings_button").removeClass('on');
24 $("a#subscriptions_management_button").addClass('on');
26 //location.reload(true);
31 {% block usercontent %}
34 <div id="navBar"><div class="tabsA">
35 <a href='{{ view_user.get_user_subscriptions_url }}?tab=settings' id="subscriptions_settings_button" {% if not manage_open %}class="on"{% endif %}>Settings</a>
36 <a href='{{ view_user.get_user_subscriptions_url }}?tab=manage' id="subscriptions_management_button" {% if manage_open %}class="on"{% endif %}>Manage</a>
41 {% if not manage_open %}
42 <div id="subscriptions_settings" >
43 {% include "users/subscriptions_settings.html" %}
48 <div id="subscriptions_management" >
49 {% include "users/subscriptions_management.html" %}
53 <!-- end user_subscriptions.html -->