1 {% extends
"base.html" %}
7 {% block mainmenu %}{{
"/share/"|main_menu }}{% endblock %}
8 {% block sectionmenu %}{{
"/share/favorites"|section_menu }}{% endblock %}
10 {% block title %}{% trans
"Share your favorite episodes" %}{% endblock %}
14 {% trans
"Share your favorite episodes" %}
25 <i class=
"icon-rss icon-large"></i>
28 <a href=
"{% url "favorites-feed
" user.username %}">
33 <input class=
"form-control" readonly=
"readonly" type=
"text" value=
"http://{% if feed_token %}{{ user.username }}:{{feed_token}}@{% endif %}{{ site.domain }}{% url "favorites-feed
" user.username %}" />
37 {% if not feed_token %}
41 <i class=
"icon-link icon-large"></i>
46 <a href=
"{% podcast_link_target podcast %}">{% trans
"Directory Entry" %}
</a>
48 {% trans
"Directory Entry" %}
53 <input class=
"form-control" readonly=
"readonly" type=
"text" value=
"http://{{ site.domain }}{% podcast_link_target podcast %}" />
55 <form action=
"{% url "favorites-create-entry
" %}" method=
"post">
57 <button class=
"btn btn-default" type=
"submit">{% trans
"Create" %}
</button>
70 {% 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 %}
72 <li>{% trans
"Username:" %} {{ user.username }}
</li>
73 <li>{% trans
"Password:" %} {{ feed_token }}
</li>
77 <div class=
"btn-group">
78 <button type=
"submit" class=
"btn btn-default" onclick=
"submitForm('public');">
79 <i class=
"icon-eye-open"></i> {% trans
"Remove password" %}
81 <button type=
"submit" class=
"btn btn-default" onclick=
"submitForm('private');">
82 <i class=
"icon-eye-close"></i> {% trans
"Generate new password" %}
87 <form id=
"private" class=
"form-inline" method=
"post" action=
"{% url "favorites_private
" %}">
91 <form id=
"public" class=
"form-inline" method=
"post" action=
"{% url "favorites_public
" %}">
98 {% blocktrans with site as sitename %}You've marked your favorites-feed as public and others can
99 subscribe to it. It will also be indexed by {{ sitename }}.{% endblocktrans %}
103 <li><a href=
"{% podcast_link_target podcast %}">public information about your favorites-feed
</a></li>
107 <form class=
"form-inline" method=
"post" action=
"{% url "favorites_private
" %}">
109 <button type=
"submit" class=
"btn btn-default">
110 <i class=
"icon-eye-close"></i> {% trans
"Create password" %}
120 {% block javascript %}
122 <script language=
"javascript">
124 function submitForm(formid
)
126 document
.forms
[formid
].submit();