Add line in group tab to display projects shared with a single user
authorverrierj
Wed, 14 Dec 2011 12:22:34 +0100
changeset 284 e34db010e45c
parent 283 0970e0f3d02b
child 285 1cc364d7b298
Add line in group tab to display projects shared with a single user
src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html
src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/groupslist.html
src/ldt/ldt/ldt_utils/views.py
src/ldt/ldt/locale/en/LC_MESSAGES/django.mo
src/ldt/ldt/locale/en/LC_MESSAGES/django.po
src/ldt/ldt/locale/fr/LC_MESSAGES/django.mo
src/ldt/ldt/locale/fr/LC_MESSAGES/django.po
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html	Wed Dec 14 10:28:50 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/create_group.html	Wed Dec 14 12:22:34 2011 +0100
@@ -114,7 +114,7 @@
 		<div id="selecteduserslistfooter" >
 			<a href="#" id="removeall" title="{% trans "remove all" %}">{% trans "remove all" %}</a>
 
-			{% if is_owner_group %}
+			{% if not group_id or is_owner_group %}
 			| <a href="#" id="chooseaux" title="{% trans "Decide whether a user user can change this group" %}">{% trans "is admin" %}</a>
 			| <a href="#" id="removeaux">{% trans "is not admin" %}</a>
 			{% endif %}
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/groupslist.html	Wed Dec 14 10:28:50 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/groupslist.html	Wed Dec 14 12:22:34 2011 +0100
@@ -8,7 +8,7 @@
 <table class="projectscontentstable">
     <tbody class="projectscontentsbody">
 	{% for group in groups %}
-	<tr class="imageline {% cycle 'projectscontentsoddline' 'projectscontentsevenline'%} update_group_projects" id="{{ group.id }}">
+	<tr class="imageline {% cycle 'projectscontentsoddline' 'projectscontentsevenline' as color_cycle%} update_group_projects" id="{{ group.id }}">
 		
 		{% if group.change %}
 			<td class="cellimg"><a class="grouplink create_group" title="{% trans "Change this group"%}" href="{% url ldt.ldt_utils.views.update_group group.id %}">c</a></td>
@@ -22,5 +22,12 @@
 		
 		</tr>
 	{% endfor %}
+	<tr class="imageline {% cycle color_cycle %} update_group_projects" id="-1">  
+			<td class="cellimg"></td>
+			<td>{% trans "Projects shared with me only" %}</td>
+			
+			<td class="align_right"><img src="{{LDT_MEDIA_PREFIX}}/img/control_play.png" class="next_icon"/></td>	
+	</tr>
+	
 	</tbody>
 </table>
\ No newline at end of file
--- a/src/ldt/ldt/ldt_utils/views.py	Wed Dec 14 10:28:50 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/views.py	Wed Dec 14 12:22:34 2011 +0100
@@ -19,7 +19,7 @@
 from django.utils.translation import ugettext as _, ungettext
 from forms import (LdtAddForm, SearchForm, AddProjectForm, CopyProjectForm,
     ContentForm, MediaForm, GroupAddForm)
-from guardian.shortcuts import remove_perm, get_objects_for_group
+from guardian.shortcuts import remove_perm, get_objects_for_group, get_objects_for_user
 from ldt.ldt_utils.models import Content
 from ldt.ldt_utils.utils import boolean_convert, LdtUtils, LdtSearch
 from ldt.security.utils import (assign_perm_to_obj, set_forbidden_stream, 
@@ -1264,16 +1264,20 @@
 def get_group_projects(request):
 
     # Get group, user and project_list
-    grp = Group.objects.get(id=request.POST["id_group"])
-    everyone = Group.objects.get(name=settings.PUBLIC_GROUP_NAME)
-    project_list = get_objects_for_group(grp, 'ldt_utils.view_project') | get_objects_for_group(everyone, 'ldt_utils.view_project').filter(owner__in=[grp])
-    #project_list = add_change_attr(request.user, project_list)
+    grp_id = request.POST["id_group"]
+    if grp_id == "-1":
+        project_list = get_objects_for_user(request.user, 'ldt_utils.view_project', use_groups=False)
+    else:
+        grp = Group.objects.get(id=grp_id)
+        everyone = Group.objects.get(name=settings.PUBLIC_GROUP_NAME)
+        project_list = get_objects_for_group(grp, 'ldt_utils.view_project') | get_objects_for_group(everyone, 'ldt_utils.view_project').filter(owner__in=[grp])
+        #project_list = add_change_attr(request.user, project_list)
     
     is_gecko = ((request.META['HTTP_USER_AGENT'].lower().find("firefox")) > -1);
 
     return render_to_response("ldt/ldt_utils/partial/projectslist.html",
                               {'projects': project_list, 'show_username':True,
-                               'is_gecko': is_gecko, 'group_id': grp.id},
+                               'is_gecko': is_gecko, 'group_id': grp_id},
                               context_instance=RequestContext(request))
 
 @login_required
Binary file src/ldt/ldt/locale/en/LC_MESSAGES/django.mo has changed
--- a/src/ldt/ldt/locale/en/LC_MESSAGES/django.po	Wed Dec 14 10:28:50 2011 +0100
+++ b/src/ldt/ldt/locale/en/LC_MESSAGES/django.po	Wed Dec 14 12:22:34 2011 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-12-08 11:53+0100\n"
+"POT-Creation-Date: 2011-12-14 12:18+0100\n"
 "PO-Revision-Date: 2010-02-17 03:53+0100\n"
 "Last-Translator: Yves-Marie Haussonne <ymh.work@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -166,11 +166,11 @@
 msgid "content.duration"
 msgstr "duration (ms)"
 
-#: .\ldt_utils\models.py:347
+#: .\ldt_utils\models.py:349
 msgid "created by"
 msgstr "created by"
 
-#: .\ldt_utils\models.py:348
+#: .\ldt_utils\models.py:350
 msgid "changed by"
 msgstr "changed by"
 
@@ -178,61 +178,61 @@
 msgid "Personal cutting"
 msgstr "Personal cutting"
 
-#: .\ldt_utils\views.py:122 .\ldt_utils\views.py:661 .\ldt_utils\views.py:707
+#: .\ldt_utils\views.py:123 .\ldt_utils\views.py:652 .\ldt_utils\views.py:698
 msgid "You can not access this project"
 msgstr "You can not access this project"
 
-#: .\ldt_utils\views.py:882
+#: .\ldt_utils\views.py:871
 #, python-format
 msgid "the project %(title)s is published. please unpublish before deleting."
 msgstr "the project %(title)s is published. please unpublish before deleting."
 
-#: .\ldt_utils\views.py:883
+#: .\ldt_utils\views.py:872
 msgid "can not delete the project. Please correct the following error"
 msgstr "can not delete the project. Please correct the following error"
 
-#: .\ldt_utils\views.py:884
+#: .\ldt_utils\views.py:873
 msgid "title error deleting project"
 msgstr "Error when deleting project"
 
-#: .\ldt_utils\views.py:886
+#: .\ldt_utils\views.py:875
 #, python-format
 msgid "please confirm deleting project %(title)s"
 msgstr "Please confirm deleting project %(title)s"
 
-#: .\ldt_utils\views.py:887
+#: .\ldt_utils\views.py:876
 msgid "confirm deletion"
 msgstr "Confirm deletion"
 
-#: .\ldt_utils\views.py:1074
+#: .\ldt_utils\views.py:1063
 msgid "Problem when downloading file from url : "
 msgstr "Problem when downloading file from url: "
 
-#: .\ldt_utils\views.py:1077
+#: .\ldt_utils\views.py:1066
 msgid "Problem when uploading file : "
 msgstr "Problem when uploading file: "
 
-#: .\ldt_utils\views.py:1163
+#: .\ldt_utils\views.py:1156
 #, python-format
 msgid "There is %(count)d error when deleting content"
 msgid_plural "There are %(count)d errors when deleting content"
 msgstr[0] "There is %(count)d error when deleting content"
 msgstr[1] "There are %(count)d errors when deleting content"
 
-#: .\ldt_utils\views.py:1164
+#: .\ldt_utils\views.py:1157
 msgid "title error deleting content"
 msgstr "Error when deleting content"
 
-#: .\ldt_utils\views.py:1166
+#: .\ldt_utils\views.py:1159
 #, python-format
 msgid "Confirm delete content %(titles)s"
 msgstr "Confirm delete content %(titles)s"
 
-#: .\ldt_utils\views.py:1167
+#: .\ldt_utils\views.py:1160
 msgid "confirm delete content"
 msgstr "Confirm delete content"
 
-#: .\ldt_utils\views.py:1204
+#: .\ldt_utils\views.py:1198
 #, python-format
 msgid ""
 "Content '%(title)s' is referenced by this project : %(project_titles)s. "
@@ -289,7 +289,7 @@
 msgstr "Copy your project"
 
 #: .\ldt_utils\templates\ldt\ldt_utils\copy_ldt.html.py:17
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:77
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:76
 msgid "Title"
 msgstr "Title"
 
@@ -297,24 +297,24 @@
 msgid "Copy"
 msgstr "Copy"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:43
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:42
 msgid "Browse"
 msgstr "Browse"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:44
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:43
 msgid "File uploaded"
 msgstr "File uploaded"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:45
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:44
 msgid "Please wait, the upload is not finished yet"
 msgstr "Please wait, the upload is not finished yet"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:46
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:45
 #, fuzzy
 msgid "Cancel upload"
 msgstr "Cancel upload"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:75
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:58
 msgid ""
 "The operation could not be performed because one or more error(s) occurred."
 "<br />Please resubmit the media form after making the following changes:"
@@ -322,31 +322,31 @@
 "The operation could not be performed because one or more error(s) occurred."
 "<br />Please resubmit the media form after making the following changes:"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:85
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:68
 #: .\ldt_utils\templates\ldt\ldt_utils\workspace_base.html.py:54
 msgid "Create content"
 msgstr "Create content"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:103
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:86
 msgid "publish for everyone"
 msgstr "publish for everyone"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:132
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:117
 msgid "media file is being processed please wait."
 msgstr "media file is being processed please wait."
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:136
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:134
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:122
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:121
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:121
 #: .\ldt_utils\templates\ldt\ldt_utils\error_confirm.html.py:52
 msgid "close_cancel"
 msgstr "Close"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:122
 msgid "delete"
 msgstr "Approve delete"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:138
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:123
 msgid "write"
 msgstr "Write"
 
@@ -405,29 +405,29 @@
 msgid "remove all"
 msgstr "remove all"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:116
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:118
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\permissions.html.py:42
 msgid "Decide whether a user user can change this group"
 msgstr "Decide whether a user user can change this group"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:116
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:118
 msgid "is admin"
 msgstr "is admin"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:117
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:119
 msgid "is not admin"
 msgstr "is not admin"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:136
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:139
 #, fuzzy
 msgid "update_group"
 msgstr "update project"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:141
 msgid "delete_group"
 msgstr "delete project"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:139
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:144
 msgid "create_group"
 msgstr "Create a group"
 
@@ -439,31 +439,31 @@
 msgid "Create your project"
 msgstr "Create your project"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:82
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:81
 #, fuzzy
 msgid "Description :"
 msgstr "description"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:87
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:86
 msgid "List of contents"
 msgstr "List of contents"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:101
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:100
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\contentslist.html.py:3
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\projectslist.html.py:3
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\publishedprojectslist.html.py:3
 msgid "name"
 msgstr "name"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:124
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:123
 msgid "delete_project"
 msgstr "delete project"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:125
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:124
 msgid "update_project"
 msgstr "update project"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:127
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:126
 msgid "create_project"
 msgstr "Create new project"
 
@@ -624,15 +624,14 @@
 msgid "Click on the line to see the group's projects"
 msgstr "clik here to see the project content"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:15
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:14
 #, fuzzy
 msgid "Change this group"
 msgstr "Create a group"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:18
-#, fuzzy
-msgid "Leave this group"
-msgstr "Create a group"
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:27
+msgid "Projects shared with me only"
+msgstr "Projects shared with me only"
 
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\permissions.html.py:42
 #, fuzzy
@@ -1051,10 +1050,6 @@
 msgid "Language"
 msgstr "Language"
 
-#: .\user\models.py:38
-msgid "Designates whether the user can create and leave groups."
-msgstr ""
-
 #: .\user\views.py:29
 msgid "Your profile has been updated."
 msgstr "Your profile has been changed."
@@ -1316,6 +1311,10 @@
 "We've e-mailed you instructions for activate your account to the e-mail "
 "address you submitted. You should be receiving it shortly."
 
+#, fuzzy
+#~ msgid "Leave this group"
+#~ msgstr "Create a group"
+
 #~ msgid ""
 #~ "The operation could not be performed because one or more error(s) "
 #~ "occurred.<br />Please resubmit the content form after making the "
Binary file src/ldt/ldt/locale/fr/LC_MESSAGES/django.mo has changed
--- a/src/ldt/ldt/locale/fr/LC_MESSAGES/django.po	Wed Dec 14 10:28:50 2011 +0100
+++ b/src/ldt/ldt/locale/fr/LC_MESSAGES/django.po	Wed Dec 14 12:22:34 2011 +0100
@@ -7,7 +7,7 @@
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-12-08 11:52+0100\n"
+"POT-Creation-Date: 2011-12-14 12:17+0100\n"
 "PO-Revision-Date: 2010-03-09 15:52+0100\n"
 "Last-Translator: Yves-Marie Haussonne <ymh.work@gmail.com>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -166,11 +166,11 @@
 msgid "content.duration"
 msgstr "Durée (ms)"
 
-#: .\ldt_utils\models.py:347
+#: .\ldt_utils\models.py:349
 msgid "created by"
 msgstr "créé par"
 
-#: .\ldt_utils\models.py:348
+#: .\ldt_utils\models.py:350
 msgid "changed by"
 msgstr "modifié par"
 
@@ -178,62 +178,62 @@
 msgid "Personal cutting"
 msgstr "Découpages personnels"
 
-#: .\ldt_utils\views.py:122 .\ldt_utils\views.py:661 .\ldt_utils\views.py:707
+#: .\ldt_utils\views.py:123 .\ldt_utils\views.py:652 .\ldt_utils\views.py:698
 msgid "You can not access this project"
 msgstr "vous n'avez pas l'autorisation d'accéder à ce projet"
 
-#: .\ldt_utils\views.py:882
+#: .\ldt_utils\views.py:871
 #, python-format
 msgid "the project %(title)s is published. please unpublish before deleting."
 msgstr "Le projet %(title)s est publié. Déplublier le avant de l'effacer."
 
-#: .\ldt_utils\views.py:883
+#: .\ldt_utils\views.py:872
 msgid "can not delete the project. Please correct the following error"
 msgstr ""
 "Le projet ne peut pas être effacé. Veuillez corriger les erreurs suivantes."
 
-#: .\ldt_utils\views.py:884
+#: .\ldt_utils\views.py:873
 msgid "title error deleting project"
 msgstr "Erreur lors de l'effacement du projet"
 
-#: .\ldt_utils\views.py:886
+#: .\ldt_utils\views.py:875
 #, python-format
 msgid "please confirm deleting project %(title)s"
 msgstr "Confirmer l'effacement du projet intitulé %(title)s"
 
-#: .\ldt_utils\views.py:887
+#: .\ldt_utils\views.py:876
 msgid "confirm deletion"
 msgstr "Confirmation d'effacement"
 
-#: .\ldt_utils\views.py:1074
+#: .\ldt_utils\views.py:1063
 msgid "Problem when downloading file from url : "
 msgstr "Problème lors du téléchargement du fichier : "
 
-#: .\ldt_utils\views.py:1077
+#: .\ldt_utils\views.py:1066
 msgid "Problem when uploading file : "
 msgstr "Problème lors de l'upload du fichier : "
 
-#: .\ldt_utils\views.py:1163
+#: .\ldt_utils\views.py:1156
 #, python-format
 msgid "There is %(count)d error when deleting content"
 msgid_plural "There are %(count)d errors when deleting content"
 msgstr[0] "Il y a %(count)d erreur lors de l'effacement du contenu"
 msgstr[1] "Il y a %(count)d erreurs lors de l'effacement du contenu"
 
-#: .\ldt_utils\views.py:1164
+#: .\ldt_utils\views.py:1157
 msgid "title error deleting content"
 msgstr "Erreur lors de l'effacement du contenu"
 
-#: .\ldt_utils\views.py:1166
+#: .\ldt_utils\views.py:1159
 #, python-format
 msgid "Confirm delete content %(titles)s"
 msgstr "Veuillez confirmer l'effacement du contenu %(titles)s"
 
-#: .\ldt_utils\views.py:1167
+#: .\ldt_utils\views.py:1160
 msgid "confirm delete content"
 msgstr "Confirmation effacement contenu"
 
-#: .\ldt_utils\views.py:1204
+#: .\ldt_utils\views.py:1198
 #, python-format
 msgid ""
 "Content '%(title)s' is referenced by this project : %(project_titles)s. "
@@ -290,7 +290,7 @@
 msgstr "Copier votre projet"
 
 #: .\ldt_utils\templates\ldt\ldt_utils\copy_ldt.html.py:17
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:77
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:76
 msgid "Title"
 msgstr "Titre"
 
@@ -298,23 +298,23 @@
 msgid "Copy"
 msgstr "Copier"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:43
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:42
 msgid "Browse"
 msgstr "Parcourir"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:44
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:43
 msgid "File uploaded"
 msgstr "Fichier téléversé"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:45
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:44
 msgid "Please wait, the upload is not finished yet"
 msgstr "Veuillez patienter, le téléversement est en cours"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:46
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:45
 msgid "Cancel upload"
 msgstr "Annuler le téléversement"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:75
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:58
 msgid ""
 "The operation could not be performed because one or more error(s) occurred."
 "<br />Please resubmit the media form after making the following changes:"
@@ -322,31 +322,31 @@
 "opération impossible à cause d'une ou plusieurs erreurs.<br />Veuillez "
 "resoumettre le formulaire media après avoir fait les changements suivants:"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:85
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:68
 #: .\ldt_utils\templates\ldt\ldt_utils\workspace_base.html.py:54
 msgid "Create content"
 msgstr "Créer un contenu"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:103
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:86
 msgid "publish for everyone"
 msgstr "publier pour tout le monde"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:132
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:117
 msgid "media file is being processed please wait."
 msgstr "Le fichier média est en cours de traitement. Veuillez patienter."
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:136
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:134
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:122
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:121
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:121
 #: .\ldt_utils\templates\ldt\ldt_utils\error_confirm.html.py:52
 msgid "close_cancel"
 msgstr "Fermer"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:122
 msgid "delete"
 msgstr "Effacer"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:138
+#: .\ldt_utils\templates\ldt\ldt_utils\create_content.html.py:123
 msgid "write"
 msgstr "Enregistrer"
 
@@ -404,28 +404,28 @@
 msgid "remove all"
 msgstr "tout enlever"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:116
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:118
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\permissions.html.py:42
 msgid "Decide whether a user user can change this group"
 msgstr "Précise si cet utilisateur peut créer et modifier ce groupe."
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:116
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:118
 msgid "is admin"
 msgstr "Administrateur"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:117
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:119
 msgid "is not admin"
 msgstr "Administration"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:136
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:139
 msgid "update_group"
 msgstr "Mettre à jour le groupe"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:137
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:141
 msgid "delete_group"
 msgstr "Effacer le groupe"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:139
+#: .\ldt_utils\templates\ldt\ldt_utils\create_group.html.py:144
 msgid "create_group"
 msgstr "Créer un nouveau groupe"
 
@@ -437,30 +437,30 @@
 msgid "Create your project"
 msgstr "Créer votre projet Lignes de Temps"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:82
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:81
 msgid "Description :"
 msgstr "Description :"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:87
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:86
 msgid "List of contents"
 msgstr "Liste de contenus"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:101
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:100
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\contentslist.html.py:3
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\projectslist.html.py:3
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\publishedprojectslist.html.py:3
 msgid "name"
 msgstr "Nom"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:124
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:123
 msgid "delete_project"
 msgstr "Effacer"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:125
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:124
 msgid "update_project"
 msgstr "Mettre à jour"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:127
+#: .\ldt_utils\templates\ldt\ldt_utils\create_ldt.html.py:126
 msgid "create_project"
 msgstr "Créer un nouveau projet Ligne de Temps"
 
@@ -618,13 +618,23 @@
 msgid "Click on the line to see the group's projects"
 msgstr "cliquer ici pour voir les projets du groupe"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:15
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:14
 msgid "Change this group"
 msgstr "Modifier ce groupe"
 
-#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:18
-msgid "Leave this group"
-msgstr "Quitter ce groupe"
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\groupslist.html.py:27
+msgid "Projects shared with me only"
+msgstr "Projets partagés avec moi uniquement"
+
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\permissions.html.py:42
+#, fuzzy
+msgid "can change"
+msgstr "Modification du mot de passe"
+
+#: .\ldt_utils\templates\ldt\ldt_utils\partial\permissions.html.py:43
+#, fuzzy
+msgid "can not change"
+msgstr "Modification du mot de passe"
 
 #: .\ldt_utils\templates\ldt\ldt_utils\partial\projectslist.html.py:18
 msgid "copy project"
@@ -1032,10 +1042,6 @@
 msgid "Language"
 msgstr "Langue"
 
-#: .\user\models.py:38
-msgid "Designates whether the user can create and leave groups."
-msgstr "Précise si cet utilisateur peut créer et quitter des groupes."
-
 #: .\user\views.py:29
 msgid "Your profile has been updated."
 msgstr "Votre profil a été modifié"
@@ -1303,6 +1309,12 @@
 "Nous vous avons envoyé par courriel les instructions pour activer le compte "
 "à l'adresse que vous avez indiquée. Vous devriez le recevoir rapidement."
 
+#~ msgid "Leave this group"
+#~ msgstr "Quitter ce groupe"
+
+#~ msgid "Designates whether the user can create and leave groups."
+#~ msgstr "Précise si cet utilisateur peut créer et quitter des groupes."
+
 #~ msgid ""
 #~ "The operation could not be performed because one or more error(s) "
 #~ "occurred.<br />Please resubmit the content form after making the "