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
!18
Add link to EditPersonView
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add link to EditPersonView
edit-person
into
master
Overview
0
Commits
2
Pipelines
1
Changes
2
Merged
Tom Teichler
requested to merge
edit-person
into
master
3 years ago
Overview
0
Commits
2
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
b4e7187a
2 commits,
3 years ago
2 files
+
16
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
aleksis/apps/paweljong/templates/paweljong/event_registration/full.html
+
13
−
4
Options
@@ -14,37 +14,46 @@
{% 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.view_invoice_rule' user registration as can_view_invoice %}
{% has_perm 'core.edit_person_rule' user person as can_change_person %}
{% if can_manage_registration or can_manage_registration_preferences or can_delete_registration or can_send_notification %}
<p>
{% if can_manage_registration %}
<a
href=
"{% url 'edit_registration_by_pk' registration.pk %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left
"
>
edit
</i>
<i
class=
"material-icons left
iconify"
data-icon=
"mdi:
edit
"
>
</i>
{% trans "Edit" %}
</a>
{% endif %}
{% if can_delete_registration %}
<a
href=
"{% url 'delete_registration_by_pk' registration.pk %}"
class=
"btn waves-effect waves-light red"
>
<i
class=
"material-icons left
"
>
delete
</i>
<i
class=
"material-icons left
iconify"
data-icon=
"mdi:
delete
"
>
</i>
{% trans "Delete" %}
</a>
{% endif %}
{% if can_send_notification %}
<a
href=
"{% url 'registration_notification_by_pk' registration.pk %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left
"
>
email
</i>
<i
class=
"material-icons left
iconify"
data-icon=
"mdi:
email
"
>
</i>
{% trans "Notification" %}
</a>
{% endif %}
{% 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>
<i
class=
"material-icons left
iconify"
data-icon=
"mdi:
attach_money
"
>
</i>
{% trans "Invoice" %}
</a>
{% endif %}
{% if can_change_person %}
<a
href=
"{% url 'edit_person_by_id' person.id %}"
class=
"btn waves-effect waves-light"
>
<i
class=
"material-icons left iconify"
data-icon=
"mdi:account-edit"
></i>
{% trans "Edit person" %}
</a>
{% endif %}
</p>
{% endif %}
Loading