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
60b6f758
Commit
60b6f758
authored
Feb 21, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
binome header removed
parent
48a203e1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
members-space-header.js
members_space/static/js/members-space-header.js
+1
-1
views.py
members_space/views.py
+2
-1
index.html
templates/members_space/index.html
+2
-1
No files found.
members_space/static/js/members-space-header.js
View file @
60b6f758
...
...
@@ -55,7 +55,7 @@ $(document).ready(function() {
toggleHeader
();
});
if
(
partner_data
.
is_associated_people
===
"True"
)
{
if
(
partner_data
.
is_associated_people
===
"True"
&&
block_actions_for_attached_people
===
"True"
)
{
$
(
".pairs_info"
).
show
();
}
});
members_space/views.py
View file @
60b6f758
...
...
@@ -28,7 +28,8 @@ def index(request, exception=None):
context
=
{
'title'
:
'Espace Membre'
,
'COMPANY_LOGO'
:
getattr
(
settings
,
'COMPANY_LOGO'
,
None
)
'COMPANY_LOGO'
:
getattr
(
settings
,
'COMPANY_LOGO'
,
None
),
'block_actions_for_attached_people'
:
getattr
(
settings
,
'BLOCK_ACTIONS_FOR_ATTACHED_PEOPLE'
,
True
)
}
template
=
loader
.
get_template
(
'members_space/index.html'
)
...
...
templates/members_space/index.html
View file @
60b6f758
...
...
@@ -123,7 +123,8 @@
"verif_token"
:
"{{partnerData.verif_token}}"
,
"leave_stop_date"
:
"{{partnerData.leave_stop_date}}"
,
"comite"
:
"{{partnerData.comite}}"
}
};
var
block_actions_for_attached_people
=
'{{block_actions_for_attached_people}}'
;
</script>
<script
src=
"{% static "
js
/
all_common
.
js
"
%}?
v=
"></script>
<script src="
{%
static
"
js
/
members-space-home
.
js
"
%}?
v=
"></script>
...
...
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