src/cm/templates/site/text_followup.html
changeset 80 23294913284b
parent 63 0a610af4033f
child 160 0c01050f9717
equal deleted inserted replaced
79:116eb1f06072 80:23294913284b
    17 -->
    17 -->
    18 </script>
    18 </script>
    19 
    19 
    20 <div id="followup_settings" class="tab-meta">   
    20 <div id="followup_settings" class="tab-meta">   
    21 
    21 
    22 <form id="notifications" enctype="multipart/form-data" action="." method="post">
       
    23 
       
    24 <h2 class="title_first">{% blocktrans %}Feeds{% endblocktrans %}</h2>
    22 <h2 class="title_first">{% blocktrans %}Feeds{% endblocktrans %}</h2>
    25 
    23 
    26 <h3>{% blocktrans %}Public feed{% endblocktrans %}</h3>
    24 <h3>{% blocktrans %}Public feed{% endblocktrans %}</h3>
    27 
    25 
    28 <div>
    26 <div>
    29 <a href="{{SITE_URL}}{% url text-feed text.key  %}" title="{% blocktrans with text.title as title %}Public feed for text {{ title }}{% endblocktrans %}">
    27 <a href="{{SITE_URL}}{% url text-feed text.key  %}" title="{% blocktrans with text.title as title %}Public feed for text {{ title }}{% endblocktrans %}">
    30 	<img style="vertical-align:middle;" src="{{ MEDIA_URL }}img/xml.gif" /> {{SITE_URL}}{% url text-feed text.key  %} 
    28 	<img style="vertical-align:middle;" src="{{ MEDIA_URL }}img/xml.gif" /> {{SITE_URL}}{% url text-feed text.key  %} 
    31 </a>
    29 </a>
    32 </div>
    30 </div>
    33 {% blocktrans %}This is the public feed for the text.{% endblocktrans %}
    31 {% blocktrans %}This is the public feed for the text.{% endblocktrans %}
       
    32 
       
    33 {% if user.is_authenticated %}
       
    34 <form id="notifications" enctype="multipart/form-data" action="." method="post">
    34 
    35 
    35 {% if can_view_unapproved_comment %}
    36 {% if can_view_unapproved_comment %}
    36 <h3>{% blocktrans %}Private feed{% endblocktrans %}</h3>
    37 <h3>{% blocktrans %}Private feed{% endblocktrans %}</h3>
    37 
    38 
    38 {% if text.private_feed_key %}
    39 {% if text.private_feed_key %}
    73             post_data[id] = checked ; 
    74             post_data[id] = checked ; 
    74             $.post('.', post_data, function(data){});
    75             $.post('.', post_data, function(data){});
    75         });
    76         });
    76         
    77         
    77     }) ;
    78     }) ;
    78 --> 
    79 	--> 
    79 </script>
    80 	</script>
       
    81 
       
    82 </form>
       
    83 {% endif %}
    80 
    84 
    81 </div>
    85 </div>
    82 
    86 
    83 {% endblock %}
    87 {% endblock %}
    84 
    88