1 {% extends
"base.html" %}
2 {% load url from future %}
8 {% block mainmenu %}{{
"/share/"|main_menu }}{% endblock %}
9 {% block sectionmenu %}{{
"/share/favorites"|section_menu }}{% endblock %}
11 {% block title %}{% trans
"Share your favorite episodes" %}{% endblock %}
15 {% trans
"Share your favorite episodes" %}
26 <i class=
"icon-rss icon-large"></i>
29 <a href=
"{% url "favorites-feed
" user.username %}">
34 <input class=
"input-xxlarge" readonly=
"readonly" type=
"text" value=
"http://{% if feed_token %}{{ user.username }}:{{feed_token}}@{% endif %}{{ site.domain }}{% url "favorites-feed
" user.username %}" />
38 {% if not feed_token %}
42 <i class=
"icon-link icon-large"></i>
47 <a href=
"{% podcast_link_target podcast %}">{% trans
"Directory Entry" %}
</a>
49 {% trans
"Directory Entry" %}
54 <input class=
"input-xxlarge" readonly=
"readonly" type=
"text" value=
"http://{{ site.domain }}{% podcast_link_target podcast %}" />
56 <form action=
"{% url "favorites-create-entry
" %}" method=
"post">
58 <button class=
"btn" type=
"submit">{% trans
"Create" %}
</button>
71 {% blocktrans %}To keep your favorites private (from others and from the public pages of {{ site }}), you need to use HTTP-Authentication in your client. {% endblocktrans %}
73 <li>{% trans
"Username:" %} {{ user.username }}
</li>
74 <li>{% trans
"Password:" %} {{ feed_token }}
</li>
78 <div class=
"btn-group">
79 <button type=
"submit" class=
"btn" onclick=
"submitForm('public');">
80 <i class=
"icon-eye-open"></i> {% trans
"Remove password" %}
82 <button type=
"submit" class=
"btn" onclick=
"submitForm('private');">
83 <i class=
"icon-eye-close"></i> {% trans
"Generate new password" %}
88 <form id=
"private" class=
"form-inline" method=
"post" action=
"{% url "favorites_private
" %}">
92 <form id=
"public" class=
"form-inline" method=
"post" action=
"{% url "favorites_public
" %}">
99 {% blocktrans with site as sitename %}You've marked your favorites-feed as public and others can
100 subscribe to it. It will also be indexed by {{ sitename }}.{% endblocktrans %}
104 <li><a href=
"{% podcast_link_target podcast %}">public information about your favorites-feed
</a></li>
108 <form class=
"form-inline" method=
"post" action=
"{% url "favorites_private
" %}">
110 <button type=
"submit" class=
"btn">
111 <i class=
"icon-eye-close"></i> {% trans
"Create password" %}
121 {% block javascript %}
123 <script language=
"javascript">
125 function submitForm(formid
)
127 document
.forms
[formid
].submit();