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
2
Merge Requests
2
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
cooperatic-foodcoops
third-party
Commits
ec495097
Commit
ec495097
authored
Sep 12, 2022
by
François C.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add permanent message below memberspace connection fields
parent
38f3ee82
Pipeline
#2371
failed with stage
in 1 minute 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
views.py
members_space/views.py
+2
-1
config.md
outils/config.md
+4
-0
connect.html
templates/website/connect.html
+5
-0
No files found.
members_space/views.py
View file @
ec495097
...
...
@@ -29,7 +29,8 @@ def index(request, exception=None):
context
=
{
'title'
:
'Espace Membre'
,
'COMPANY_LOGO'
:
getattr
(
settings
,
'COMPANY_LOGO'
,
None
),
'block_actions_for_attached_people'
:
getattr
(
settings
,
'BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE'
,
True
)
'block_actions_for_attached_people'
:
getattr
(
settings
,
'BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE'
,
True
),
'permanent_message'
:
getattr
(
settings
,
'PERMANENT_MESSAGE_BELOW_CONNECTION_FIELDS'
,
None
),
}
template
=
loader
.
get_template
(
'members_space/index.html'
)
...
...
outils/config.md
View file @
ec495097
...
...
@@ -442,6 +442,10 @@
True by default
-
PERMANENT_MESSAGE_BELOW_CONNECTION_FIELDS = "Si vous avez des difficultés à vous connecter, ...."
Default is None
### BDM Admin
-
BDM_SHOW_FTOP_BUTTON = True (by default)
...
...
templates/website/connect.html
View file @
ec495097
...
...
@@ -24,6 +24,11 @@
<p><button
type=
"submit"
>
Connexion
</button></p>
</form>
<p
style=
"color:red;"
>
{{msg}}
</p>
{% if permanent_message %}
<div
id=
"permanent_message"
>
{{permanent_message}}
</div>
{% endif %}
<!--<p><a href="oubli_pass">Mot de passe oublié</a></p>-->
<script>
try
{
...
...
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