Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexis AOUN
third-party
Commits
730d6239
Commit
730d6239
authored
Jul 03, 2021
by
François
Committed by
Alexis Aoun
Jul 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message display for member search (easy validation) improvement
parent
4479575e
Pipeline
#1173
failed with stage
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
+7
-1
views.py
members/views.py
+2
-0
config.md
outils/config.md
+4
-0
index.html
templates/members/index.html
+1
-1
No files found.
members/views.py
View file @
730d6239
...
...
@@ -26,6 +26,8 @@ def index(request):
'ENTRANCE_SERVICE_BTN'
:
getattr
(
settings
,
'ENTRANCE_SERVICE_BTN'
,
'Je viens faire mon service'
),
'ENTRANCE_MISSED_SHIFT_BEGIN_MSG'
:
getattr
(
settings
,
'ENTRANCE_MISSED_SHIFT_BEGIN_MSG'
,
"La période pendant laquelle il est possible de s'enregistrer est close."
),
'ENTRANCE_EASY_SHIFT_VALIDATE_MSG'
:
getattr
(
settings
,
'ENTRANCE_EASY_SHIFT_VALIDATE_MSG'
,
'Je valide mon service "Comité"'
),
'CONFIRME_PRESENT_BTN'
:
getattr
(
settings
,
'CONFIRME_PRESENT_BTN'
,
'Présent.e'
)
}
for_shoping_msg
=
getattr
(
settings
,
'ENTRANCE_COME_FOR_SHOPING_MSG'
,
''
)
...
...
outils/config.md
View file @
730d6239
...
...
@@ -240,6 +240,10 @@
This message is dispayed when time to register is last
-
ENTRANCE_EASY_SHIFT_VALIDATE_MSG (default = 'Je valide mon service "Comité"')
(makes sens if ENTRANCE_EASY_SHIFT_VALIDATE is True)
### Member space
-
EM_URL = ''
...
...
templates/members/index.html
View file @
730d6239
...
...
@@ -158,7 +158,7 @@
{% if easy_shift_validate %}
<div
class=
"easy_shift_validate"
>
<p>
Je valide mon service "Comité"
</p>
<p>
{{ENTRANCE_EASY_SHIFT_VALIDATE_MSG|safe}}
</p>
{% include "members/member_selection.html" %}
</div>
{% endif %}
...
...
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