Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Projekt+Hack-n-Fun
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
9sorneWpersma
Projekt+Hack-n-Fun
Commits
52f571a5
Commit
52f571a5
authored
3 years ago
by
Tom Teichler
Browse files
Options
Downloads
Patches
Plain Diff
Fix permission in template
parent
13afecce
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
+2
-2
2 additions, 2 deletions
...aweljong/templates/paweljong/event_registration/full.html
with
2 additions
and
2 deletions
aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
+
2
−
2
View file @
52f571a5
...
...
@@ -13,7 +13,7 @@
{% has_perm 'paweljong.manage_registration' user registration as can_manage_registration %}
{% has_perm 'paweljong.delete_registration' user registration as can_delete_registration %}
{% has_perm 'paweljong.send_notification_mail' user registration as can_send_notification %}
{% has_perm 'tezor.
can_print
_invoice' user registration as can_
print
_invoice %}
{% has_perm 'tezor.
view
_invoice
_rule
' user registration as can_
view
_invoice %}
{% if can_manage_registration or can_manage_registration_preferences or can_delete_registration or can_send_notification %}
<p>
...
...
@@ -38,7 +38,7 @@
</a>
{% endif %}
{% if can_
print
_invoice %}
{% if can_
view
_invoice %}
<a
href=
"{% url 'invoice_by_token' registration.get_invoice.token %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left"
>
attach_money
</i>
{% trans "Invoice" %}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment