Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
re2o
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nounous
re2o
Commits
4eeb8802
Commit
4eeb8802
authored
Jun 27, 2018
by
Maël Kervella
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use button instead of badge
parent
e5f9b634
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
users/templates/users/aff_listright.html
users/templates/users/aff_listright.html
+6
-6
No files found.
users/templates/users/aff_listright.html
View file @
4eeb8802
...
...
@@ -28,8 +28,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
class=
"panel panel-default"
>
<div
class=
"panel-heading clearfix"
data-toggle=
"collapse"
data-target=
"#collapse_superuser"
>
<div
class=
"pull-right"
>
<a
data-toggle=
"modal"
data-target=
"#modal_superuser"
>
<span
class=
"badge"
>
{{superusers.count}}
<i
class=
"fa fa-user"
></i></span
>
<a
type=
"button"
class=
"btn btn-sm btn-default"
data-toggle=
"modal"
data-target=
"#modal_superuser"
>
{{superusers.count}}
<i
class=
"fa fa-user"
></i
>
</a>
</div>
<h4
class=
"text-danger"
>
...
...
@@ -106,12 +106,12 @@ with this program; if not, write to the Free Software Foundation, Inc.,
<div
class=
"panel-heading clearfix"
data-toggle=
"collapse"
data-target=
"#collapse_{{right.id}}"
>
<div
class=
"pull-right"
>
{% if users %}
<a
data-toggle=
"modal"
data-target=
"#modal_{{right.id}}"
>
<span
class=
"badge"
>
{{users.count}}
<i
class=
"fa fa-user"
></i></span>
</a>
<a
type=
"button"
class=
"btn btn-sm btn-default"
data-toggle=
"modal"
data-target=
"#modal_{{right.id}}"
>
{% else %}
<
span
class=
"badge"
>
{{users.count}}
<i
class=
"fa fa-user"
></i></span
>
<
a
type=
"button"
class=
"btn btn-sm btn-default"
disabled=
"disabled"
>
{% endif %}
{{users.count}}
<i
class=
"fa fa-user"
></i>
</a>
{% include 'buttons/edit.html' with href='users:edit-listright' id=right.id %}
{% include 'buttons/history.html' with href='users:history' name='listright' id=right.id %}
</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