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
7a0084b8
Commit
7a0084b8
authored
Apr 15, 2022
by
Félicie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove-button
parent
468038c0
Pipeline
#2117
passed with stage
in 1 minute 37 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
2 deletions
+22
-2
inscriptions.css
members/static/css/inscriptions.css
+14
-0
inscriptions.js
members/static/js/inscriptions.js
+7
-1
inscriptions.html
templates/members/inscriptions.html
+1
-1
No files found.
members/static/css/inscriptions.css
View file @
7a0084b8
...
...
@@ -77,3 +77,16 @@
#associate_area
{
margin-bottom
:
15px
;
}
.remove_binome_icon
{
margin-left
:
5px
;
}
.remove_binome_icon
:hover
{
color
:
#e62720
;
}
.chosen_associate_group
{
display
:
flex
;
align-items
:
center
;
}
\ No newline at end of file
members/static/js/inscriptions.js
View file @
7a0084b8
...
...
@@ -361,10 +361,11 @@ function modify_current_coop() {
$
(
'#existing_member_choice'
).
addClass
(
'choice_active'
);
var
member_button
=
'<div>'
+
current_coop
.
parent_name
+
'</div>'
;
$
(
'.chosen_associate'
).
html
(
member_button
);
$
(
'.chosen_associate_area'
).
show
();
associated_old_choice
=
'existing_member_choice'
;
$
(
".remove_binome_icon"
).
on
(
"click"
,
hide_chosen_associate
)
}
else
{
$
(
'#new_member_choice_action'
).
show
();
$
(
'#existing_member_choice_action'
).
hide
();
...
...
@@ -383,6 +384,11 @@ function modify_current_coop() {
}
ncoop_view
.
show
();
}
function
hide_chosen_associate
()
{
$
(
".chosen_associate_area"
).
hide
();
}
function
modify_coop_by_btn_triggered
()
{
var
clicked
=
$
(
this
);
var
coop_id
=
clicked
.
find
(
'div'
).
data
(
'id'
);
...
...
templates/members/inscriptions.html
View file @
7a0084b8
...
...
@@ -97,7 +97,7 @@
<div
>
<p><i>
Binôme choisi :
</i></p>
</div>
<div>
<div
class=
"chosen_associate_group"
>
<span
class=
"chosen_associate"
></span>
<i
class=
"fas fa-times remove_binome_icon"
></i>
</div>
...
...
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