Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AlekSIS-App-Paweljong
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Teckids
Projekt Hack-n-Fun
AlekSIS-App-Paweljong
Merge requests
!31
Resolve "Fix permission (manage_event)"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Fix permission (manage_event)"
34-fix-permission-manage_event
into
master
Overview
0
Commits
1
Pipelines
3
Changes
3
Merged
Tom Teichler
requested to merge
34-fix-permission-manage_event
into
master
2 years ago
Overview
0
Commits
1
Pipelines
3
Changes
3
Expand
Closes
#34 (closed)
Edited
2 years ago
by
Tom Teichler
0
0
Merge request reports
Compare
master
version 1
f5bab50c
2 years ago
master (base)
and
latest version
latest version
a89b4224
1 commit,
2 years ago
version 1
f5bab50c
1 commit,
2 years ago
3 files
+
27
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/paweljong/templates/paweljong/event/detail.html
+
6
−
9
Options
@@ -14,17 +14,14 @@
{% block content %}
<h4>
{{ event }}
</h4>
{% has_perm 'paweljong.
m
an
a
ge_event' user event as can_
m
an
a
ge_event %}
{% has_perm 'paweljong.
ch
ange_event
_rule
' user event as can_
ch
ange_event
_rule
%}
{% if can_
m
an
a
ge_event %}
{% if can_
ch
ange_event
_rule
%}
<p>
{% if can_manage_event %}
<a
href=
"{% url 'edit_event_by_slug' event.slug %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left iconify"
data-icon=
"mdi:edit"
></i>
{% trans "Edit" %}
</a>
{% endif %}
<a
href=
"{% url 'edit_event_by_slug' event.slug %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left iconify"
data-icon=
"mdi:edit"
></i>
{% trans "Edit" %}
</a>
</p>
{% endif %}
Loading