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
261
Issues
261
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
Paul
third-party
Commits
382a9a7d
Commit
382a9a7d
authored
Jul 03, 2021
by
François
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message display for member search (easy validation) improvement
parent
fbc31301
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 @
382a9a7d
...
@@ -26,6 +26,8 @@ def index(request):
...
@@ -26,6 +26,8 @@ def index(request):
'ENTRANCE_SERVICE_BTN'
:
getattr
(
settings
,
'ENTRANCE_SERVICE_BTN'
,
'Je viens faire mon service'
),
'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'
,
'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."
),
"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'
)
'CONFIRME_PRESENT_BTN'
:
getattr
(
settings
,
'CONFIRME_PRESENT_BTN'
,
'Présent.e'
)
}
}
for_shoping_msg
=
getattr
(
settings
,
'ENTRANCE_COME_FOR_SHOPING_MSG'
,
''
)
for_shoping_msg
=
getattr
(
settings
,
'ENTRANCE_COME_FOR_SHOPING_MSG'
,
''
)
...
...
outils/config.md
View file @
382a9a7d
...
@@ -240,6 +240,10 @@
...
@@ -240,6 +240,10 @@
This message is dispayed when time to register is last
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
### Member space
-
EM_URL = ''
-
EM_URL = ''
...
...
templates/members/index.html
View file @
382a9a7d
...
@@ -158,7 +158,7 @@
...
@@ -158,7 +158,7 @@
{% if easy_shift_validate %}
{% if easy_shift_validate %}
<div
class=
"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" %}
{% include "members/member_selection.html" %}
</div>
</div>
{% endif %}
{% 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