diff -r 000000000000 -r 40c8f766c9b8 src/cm/templates/site/text_notifications.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/cm/templates/site/text_notifications.html Mon Nov 23 15:14:29 2009 +0100 @@ -0,0 +1,93 @@ +{% extends "site/layout/base_text.html" %} +{% load com %} +{% load i18n %} +{% load local_perms %} + +{% block title %} +{% blocktrans %}Text notifications{% endblocktrans %} +{% endblock %} + +{% block main %} +{% get_local_perm request can_manage_workspace as can_manage_workspace %} +{% get_local_perm request can_view_unapproved_comment as can_view_unapproved_comment %} + + + +
+ +
+ +

{% blocktrans %}Feeds{% endblocktrans %}

+ +

{% blocktrans %}Public feed{% endblocktrans %}

+ +
+ + {{SITE_URL}}{% url text-feed text.key %} + +
+{% blocktrans %}This is the public feed for the text.{% endblocktrans %} + +{% if can_view_unapproved_comment %} +

{% blocktrans %}Private feed{% endblocktrans %}

+ +{% if text.private_feed_key %} +
+ + {{SITE_URL}}{% url text-private-feed text.key text.private_feed_key %} + +
+{% blocktrans %}This is the private feed for the text. Don't share this address with others unless you want them to see all activities on this text.{% endblocktrans %} +
+ + +{% else %} +
+ +
+{% blocktrans %}The private feed for this text is not yet activated.{% endblocktrans %} +{% endif %} + +{% endif %} + +

{% blocktrans %}Email notifications{% endblocktrans %}

+ +   + {% blocktrans %}Subscribe to all text notifications{% endblocktrans %} + + + +

{% blocktrans %}Embed the text{% endblocktrans %}

+(?) +
+{% blocktrans %}Copy this code into your site to display text with comments. Users will also be able to add comments from your site depending an anonymous users' roles.{% endblocktrans %} +
+
+ +{% if not anonymous_can_view_text %} +
+{% url text-share text.key as text_users_link %} +{% blocktrans %}Warning:{% endblocktrans %}{% blocktrans %}You won't be able to successfully embed the text before you give anonymous users a role allowing them to view the text{% endblocktrans %} +{% endif %} +
+
+ + +{% endblock %} +