-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rend générique en fonction du type la vue "AddAuthorToContent"
* supprime la distinction de type de publication * préfère le terme "publication" à "contenu" * renomme les vues pour adopter la convention de Django * refactorise pour améliorer la lisibilité * interdit les méthodes HTTP autres que POST
- Loading branch information
Showing
4 changed files
with
64 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
{% load i18n %} | ||
|
||
{% blocktrans with title=content.title|safe type=type|safe user=user|safe %} | ||
{% blocktrans with title=content.title|safe user=user|safe %} | ||
Bonjour {{ user }}, | ||
|
||
Vous avez été intégré à la rédaction du contenu « [{{ title }}]({{ url }}) ». | ||
Il a été ajouté à la liste de vos contenus en rédaction | ||
[ici]({{ index }}). | ||
Vous avez été intégré à la rédaction de « [{{ title }}]({{ url }}) ». | ||
Vous pouvez retrouver ce lien dans votre [liste de publications]({{ index }}). | ||
|
||
Plus rien maintenant ne retient votre plume, alors bon courage ! | ||
{% endblocktrans %} |
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
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