Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Sith
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
59
Issues
59
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AE
Sith
Commits
f7e3251a
Commit
f7e3251a
authored
Sep 01, 2016
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Right fix and translation
parent
a4c5d481
Pipeline
#167
failed with stage
in 1 minute and 47 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
6 deletions
+13
-6
core/models.py
core/models.py
+2
-0
locale/fr/LC_MESSAGES/django.mo
locale/fr/LC_MESSAGES/django.mo
+0
-0
locale/fr/LC_MESSAGES/django.po
locale/fr/LC_MESSAGES/django.po
+11
-6
No files found.
core/models.py
View file @
f7e3251a
...
...
@@ -461,6 +461,8 @@ class SithFile(models.Model):
verbose_name
=
_
(
"file"
)
def
is_owned_by
(
self
,
user
):
if
hasattr
(
self
,
'profile_of'
)
and
user
.
is_in_group
(
settings
.
SITH_MAIN_BOARD_GROUP
):
return
True
return
user
.
id
==
self
.
owner
.
id
def
can_be_viewed_by
(
self
,
user
):
...
...
locale/fr/LC_MESSAGES/django.mo
View file @
f7e3251a
No preview for this file type
locale/fr/LC_MESSAGES/django.po
View file @
f7e3251a
...
...
@@ -6,7 +6,7 @@
msgid
""
msgstr
""
"Report-Msgid-Bugs-To:
\n
"
"POT-Creation-Date: 2016-0
8-31 18:24
+0200
\n
"
"POT-Creation-Date: 2016-0
9-01 11:17
+0200
\n
"
"PO-Revision-Date: 2016-07-18
\n
"
"Last-Translator: Skia <skia@libskia.so>
\n
"
"Language-Team: AE info <ae.info@utbm.fr>
\n
"
...
...
@@ -1251,7 +1251,8 @@ msgid ""
"You're receiving this email because you subscribed to the UTBM student "
"association."
msgstr
""
"Vous avez reçu cet email parce que vous avez cotisé à l'Association des Étudiants de l'UTBM."
"Vous avez reçu cet email parce que vous avez cotisé à l'Association des "
"Étudiants de l'UTBM."
#: core/templates/core/new_user_email.jinja:4
#: core/templates/core/password_reset_email.jinja:4
...
...
@@ -1269,10 +1270,11 @@ msgid ""
"You also got a new account that will be useful to purchase products in the "
"living areas and on the Eboutic."
msgstr
""
"Un compte vous a également été créé, qui vous servira notamment à consommer
dans les lieux de vie
"
"ou sur l'Eboutic."
"Un compte vous a également été créé, qui vous servira notamment à consommer "
"
dans les lieux de vie
ou sur l'Eboutic."
#: core/templates/core/new_user_email.jinja:10
#, python-format
msgid
"Here is your account number: %(account)s"
msgstr
"Voici votre numéro de compte AE : %(account)s"
...
...
@@ -2330,11 +2332,15 @@ msgstr "Deux semestres, 28 €"
msgid
"Common core cursus"
msgstr
"Cursus tronc commun, 45 €"
#: sith/settings.py:344 sith/settings
.py:349 sith/settings
_sample.py:333
#: sith/settings.py:344 sith/settings_sample.py:333
#: sith/settings_sample.py:338
msgid
"Branch cursus"
msgstr
"Cursus branche, 45 €"
#: sith/settings.py:349
msgid
"Alternating cursus"
msgstr
"Cursus alternant, 30 €"
#: sith/settings.py:354 sith/settings_sample.py:343
msgid
"Honorary member"
msgstr
"Membre honoraire, 0 €"
...
...
@@ -2435,4 +2441,3 @@ msgstr "Un utilisateur avec cette adresse email existe déjà"
msgid
"You must either choose an existing user or create a new one properly"
msgstr
""
"Vous devez soit choisir un utilisateur existant, ou en créer un proprement."
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment