Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pretix public registrations
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KIF
Pretix public registrations
Commits
cb0625b1
You need to sign in or sign up before continuing.
Commit
cb0625b1
authored
5 years ago
by
Felix Schäfer
Browse files
Options
Downloads
Patches
Plain Diff
Don't show the public registrations table if there are no public registrations yet
parent
70c2d117
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pretix_public_registrations/templates/pretix_public_registrations/front_page.html
+8
-0
8 additions, 0 deletions
...ons/templates/pretix_public_registrations/front_page.html
with
8 additions
and
0 deletions
pretix_public_registrations/templates/pretix_public_registrations/front_page.html
+
8
−
0
View file @
cb0625b1
{% load i18n %}
<section
class=
"front-page"
>
<h3>
{% trans "Public registrations" %}
</h3>
{% if not public_registrations %}
<div>
<div
class=
"col-md-12"
>
<p>
{% trans "No public registrations yet." %}
</p>
</div>
</div>
{% else %}
<div
class=
"table-responsive"
>
<table
class=
"table table-striped sortable"
>
<thead>
...
...
@@ -23,4 +30,5 @@
</tbody>
</table>
</div>
{% endif %}
</section>
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