forked from jtauber-archive/django-friends
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added teaser.html files for the new notification api and made some ch…
…anges to the passed variables git-svn-id: http://django-friends.googlecode.com/svn/trunk@38 f9456ae0-1038-0410-abc2-2f1ed958ef3d
- Loading branch information
Showing
14 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/friends_accept/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ invitation.to_user }} has accepted your friend request. | ||
{% load i18n %}{% blocktrans %}{{ invitation.to_user }} has accepted your friend request.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/friends_accept/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas user_url %}{% url profile_detail username=invitation.to_user.username %}{% endcaptureas %} | ||
{% blocktrans %}{{ invitation.to_user }} has accepted your friend request.{% endblocktrans %} |
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/friends_accept_sent/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
You accepted {{ invitation.from_user }}'s friend request. | ||
{% load i18n %}{% blocktrans %}You accepted {{ invitation.from_user }}'s friend request.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/friends_accept_sent/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas user_url %}{% url profile_detail username=invitation.from_user.username %}{% endcaptureas %} | ||
{% blocktrans %}You accepted <a href="{{ user_url }}">{{ invitation.from_user }}</a>'s friend request.{% endblocktrans %} |
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/friends_invite/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ user }} has requested to add you as a friend. | ||
{% load i18n %}{% blocktrans %}{{ user }} has requested to add you as a friend.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/friends_invite/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas user_url %}{% url profile_detail username=invitation.from_user.username %}{% endcaptureas %} | ||
{% blocktrans %}<a href="{{ user_url }}">{{ invitation.from_user }}</a> has requested to add you as a friend.{% endblocktrans %} |
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/friends_invite_sent/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
you have invited {{ user }} to add you as a friend. | ||
{% load i18n %}{% blocktrans %}you have invited {{ user }} to add you as a friend.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/friends_invite_sent/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas user_url %}{% url profile_detail username=invitation.to_user.username %}{% endcaptureas %} | ||
{% blocktrans %}you have invited <a href="{{ user_url }}">{{ invitation.to_user }}</a> to add you as a friend.{% endblocktrans %} |
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/friends_otherconnect/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ from_user }} and {{ to_user }} are now friends. | ||
{% load i18n %}{% blocktrans %}{{ from_user }} and {{ to_user }} are now friends.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/friends_otherconnect/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas from_user_url %}{% url profile_detail username=invitation.from_user.username %}{% endcaptureas %}{% captureas to_user_url %}{% url profile_detail username=to_user.username %}{% endcaptureas %} | ||
{% blocktrans %}<a href="{{ from_user_url }}">{{ invitation.from_user }}</a> and <a href="{{ to_user_url }}">{{ to_user }}</a> are now friends.{% endblocktrans %} |
2 changes: 1 addition & 1 deletion
2
friendsdev/friends/templates/notification/join_accept/plain.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{ new_user }} has joined and is now a friend. | ||
{% load i18n %}{% blocktrans %}{{ new_user }} has joined and is now a friend.{% endblocktrans %} |
2 changes: 2 additions & 0 deletions
2
friendsdev/friends/templates/notification/join_accept/teaser.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{% load i18n captureas %}{% captureas user_url %}{% url profile_detail username=new_user.username %}{% endcaptureas %} | ||
{% blocktrans %}<a href="user_url">{{ new_user }} has joined and is now a friend.{% endblocktrans %} |