symposion_app/pinaxcon/templates/dashboard.html

128 lines
3.6 KiB
HTML
Raw Normal View History

{% extends "site_base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load review_tags %}
{% load teams_tags %}
Adds registration to the website (#69) * Updates settings and requirements * First pass at attendee profile * Imports the registration templates; defines attendee profile models etc. * First pass at themeing the registration form. * First page of the registration form: done! * Makes form validation nicer * Adds populate_inventory * Improves the additional items page * Allows for rendering of formsets. * Adds support for formset extending. * Removes formset delete buttons * Review page is LCA-ified * Fixes some formset behaviour * Fixes urls.py * LCA-ifies product_category.html * Invoices * Credit card payments * s/register/tickets/ * Show registration features only whilst products are available (think about this better, later) * Updates the attendee profile form page * Form tidy-up * Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe. * Adds feature to offer Australians a dropdown list of states rather than free text. * Allow toggling of void invoices. * Adds backgrounds to the headers in the registration process * Improves the review page * Adds “Linux Australia” to invoice details. * Do not show balance due on void/refunded invoices. * More thumbing * Adds a link back to reports on each report. * Tokenisation language. * Another bug in credit card processing. * Adds stripe refunds to options * Removes spurious dashboard button. * Tidies up the presentation of discounts. * Tidies up presentation of voucher form. * Fixes sponsor logo appearance with adblock. * Front page tweaks * Lets us specify alternative URLs in homepage panels * more * Updates discount amounts. * More website fixes * Changes language on pay invoice button * Adds contact details to the invoice template. * Updates the currency message in the invoice template. * Explicitly includes e-mail address, because theme_contact_email doesn’t propagate * Changes payment text. * s/registration/selections/ * Removes final face palm * Fixes lack of speaker dinner tickets for actual presenters. * Adjusts wording in invoice e-mails * Invoice wording. * (FIX) * Fixes margins on lists and tables * Improvements arising from those CSS fixes. * Changes description tags.
2016-09-30 10:46:05 +00:00
{% load registrasion_tags %}
{% load lca2018_tags %}
{% load staticfiles %}
2018-07-01 10:25:56 +00:00
{% block head_title %}Dashboard{% endblock %}
{% block page_title %}User Dashboard{% endblock %}
2018-10-10 07:47:12 +00:00
{% block alert %}
{% endblock %}
{% block content %}
2018-06-24 00:14:29 +00:00
{% available_categories as categories %}
2018-10-10 07:47:12 +00:00
{% if categories %}
2018-06-29 22:56:52 +00:00
{% include "symposion/dashboard/_categories.html" %}
2018-06-24 00:14:29 +00:00
{% endif %}
2018-10-10 07:47:12 +00:00
<div class="mb-4">
2018-06-29 22:56:52 +00:00
{% include "symposion/dashboard/speaking.html" %}
2018-06-24 00:14:29 +00:00
</div>
{% if review_sections %}
<div class="mb-4">
<div class="row">
<h2 class="col-12 mb-3">{% trans "Reviews" %}</h2>
</div>
<div class="row">
{% for section in review_sections %}
<div class="col-md-6 col-lg-4">
<div class="card card-default mb-3">
<div class="card-header">
<h3 class="card-title">{{ section }}</h3>
</div>
<div class="card-body">
<ul class="list-unstyled">
<li><a href="{% url "review_section" section.section.slug %}">All Reviews</a></li>
{% comment %}
<li><a href="{% url "review_section_assignments" section.section.slug %}">Your Assignments</a></li>
{% endcomment %}
2018-06-24 00:14:29 +00:00
<li><a href="{% url "user_reviewed" section.section.slug %}">Reviewed by you</a></li>
<li><a href="{% url "user_not_reviewed" section.section.slug %}">Not Reviewed by you</a></li>
<li><a href="{% url "user_random" section.section.slug %}">Random unreviewed proposal</a></li>
2018-06-24 00:14:29 +00:00
</ul>
2018-06-24 00:14:29 +00:00
<ul class="list-unstyled">
<li><a href="{% url "review_status" section.section.slug %}">Voting Status</a></li>
{% if section in manage_sections %}
<li><a href="{% url "review_bulk_update" section.section.slug %}">Bulk Update</a></li>
<li><a href="{% url "result_notification" section.section.slug "accepted" %}">Result notifications</a></li>
2018-06-24 00:14:29 +00:00
<li><a href="{% url "review_admin" section.section.slug %}">Reviewer Stats</a></li>
{% endif %}
2018-06-24 00:14:29 +00:00
</ul>
</div>
</div>
</div>
{% endfor %}
2018-06-24 00:14:29 +00:00
</div>
</div>
{% endif %}
2018-06-30 04:42:03 +00:00
2018-06-24 00:14:29 +00:00
{% available_teams as available_teams %}
{% if user.memberships.exists or available_teams %}
<div class="mb-4">
2018-06-30 04:42:03 +00:00
<div class="row">
<h2 class="col-12 mb-3">{% trans "Teams "%}</h2>
</div>
{% if user.memberships.exists %}
2018-06-30 04:42:03 +00:00
<div class="row">
<h3 class="col-12">Your Teams</h3>
</div>
<div class="row">
{% for membership in user.memberships.all %}
<div class="col-md-6">
{% include "symposion/teams/_team_row.html" with team=membership.team %}
2018-06-30 04:42:03 +00:00
</div>
{% endfor %}
2018-06-30 04:42:03 +00:00
</div>
{% endif %}
{% if available_teams %}
<div class="row">
<h3 class="col-12">Available Teams</h3>
</div>
<div class="row">
{% for team in available_teams %}
<div class="col-md-6">
{% include "symposion/teams/_team_row.html" %}
</div>
{% endfor %}
2018-06-24 00:14:29 +00:00
</div>
{% endif %}
2018-06-24 00:14:29 +00:00
</div>
{% endif %}
{% endblock %} <!-- block content -->
Adds registration to the website (#69) * Updates settings and requirements * First pass at attendee profile * Imports the registration templates; defines attendee profile models etc. * First pass at themeing the registration form. * First page of the registration form: done! * Makes form validation nicer * Adds populate_inventory * Improves the additional items page * Allows for rendering of formsets. * Adds support for formset extending. * Removes formset delete buttons * Review page is LCA-ified * Fixes some formset behaviour * Fixes urls.py * LCA-ifies product_category.html * Invoices * Credit card payments * s/register/tickets/ * Show registration features only whilst products are available (think about this better, later) * Updates the attendee profile form page * Form tidy-up * Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe. * Adds feature to offer Australians a dropdown list of states rather than free text. * Allow toggling of void invoices. * Adds backgrounds to the headers in the registration process * Improves the review page * Adds “Linux Australia” to invoice details. * Do not show balance due on void/refunded invoices. * More thumbing * Adds a link back to reports on each report. * Tokenisation language. * Another bug in credit card processing. * Adds stripe refunds to options * Removes spurious dashboard button. * Tidies up the presentation of discounts. * Tidies up presentation of voucher form. * Fixes sponsor logo appearance with adblock. * Front page tweaks * Lets us specify alternative URLs in homepage panels * more * Updates discount amounts. * More website fixes * Changes language on pay invoice button * Adds contact details to the invoice template. * Updates the currency message in the invoice template. * Explicitly includes e-mail address, because theme_contact_email doesn’t propagate * Changes payment text. * s/registration/selections/ * Removes final face palm * Fixes lack of speaker dinner tickets for actual presenters. * Adjusts wording in invoice e-mails * Invoice wording. * (FIX) * Fixes margins on lists and tables * Improvements arising from those CSS fixes. * Changes description tags.
2016-09-30 10:46:05 +00:00
{% block scripts_extra %}
2018-06-24 00:14:29 +00:00
<script type="text/javascript">
var _toggleVoidInvoices = function() {
var visible = false;
function toggleVoidInvoices() {
$btn = $("#toggle-void-invoices");
$invoices = $(".void-invoice")
2018-10-10 07:47:12 +00:00
2018-06-24 00:14:29 +00:00
if (visible) {
$invoices.hide();
btnText = "Show void invoices";
} else {
$invoices.show();
btnText = "Hide void invoices";
Adds registration to the website (#69) * Updates settings and requirements * First pass at attendee profile * Imports the registration templates; defines attendee profile models etc. * First pass at themeing the registration form. * First page of the registration form: done! * Makes form validation nicer * Adds populate_inventory * Improves the additional items page * Allows for rendering of formsets. * Adds support for formset extending. * Removes formset delete buttons * Review page is LCA-ified * Fixes some formset behaviour * Fixes urls.py * LCA-ifies product_category.html * Invoices * Credit card payments * s/register/tickets/ * Show registration features only whilst products are available (think about this better, later) * Updates the attendee profile form page * Form tidy-up * Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe. * Adds feature to offer Australians a dropdown list of states rather than free text. * Allow toggling of void invoices. * Adds backgrounds to the headers in the registration process * Improves the review page * Adds “Linux Australia” to invoice details. * Do not show balance due on void/refunded invoices. * More thumbing * Adds a link back to reports on each report. * Tokenisation language. * Another bug in credit card processing. * Adds stripe refunds to options * Removes spurious dashboard button. * Tidies up the presentation of discounts. * Tidies up presentation of voucher form. * Fixes sponsor logo appearance with adblock. * Front page tweaks * Lets us specify alternative URLs in homepage panels * more * Updates discount amounts. * More website fixes * Changes language on pay invoice button * Adds contact details to the invoice template. * Updates the currency message in the invoice template. * Explicitly includes e-mail address, because theme_contact_email doesn’t propagate * Changes payment text. * s/registration/selections/ * Removes final face palm * Fixes lack of speaker dinner tickets for actual presenters. * Adjusts wording in invoice e-mails * Invoice wording. * (FIX) * Fixes margins on lists and tables * Improvements arising from those CSS fixes. * Changes description tags.
2016-09-30 10:46:05 +00:00
}
2018-06-24 00:14:29 +00:00
$btn.text(btnText);
visible = !visible;
return true;
Adds registration to the website (#69) * Updates settings and requirements * First pass at attendee profile * Imports the registration templates; defines attendee profile models etc. * First pass at themeing the registration form. * First page of the registration form: done! * Makes form validation nicer * Adds populate_inventory * Improves the additional items page * Allows for rendering of formsets. * Adds support for formset extending. * Removes formset delete buttons * Review page is LCA-ified * Fixes some formset behaviour * Fixes urls.py * LCA-ifies product_category.html * Invoices * Credit card payments * s/register/tickets/ * Show registration features only whilst products are available (think about this better, later) * Updates the attendee profile form page * Form tidy-up * Makes it so that address info is copied from attendee profile to the address details are autofilled in Stripe. * Adds feature to offer Australians a dropdown list of states rather than free text. * Allow toggling of void invoices. * Adds backgrounds to the headers in the registration process * Improves the review page * Adds “Linux Australia” to invoice details. * Do not show balance due on void/refunded invoices. * More thumbing * Adds a link back to reports on each report. * Tokenisation language. * Another bug in credit card processing. * Adds stripe refunds to options * Removes spurious dashboard button. * Tidies up the presentation of discounts. * Tidies up presentation of voucher form. * Fixes sponsor logo appearance with adblock. * Front page tweaks * Lets us specify alternative URLs in homepage panels * more * Updates discount amounts. * More website fixes * Changes language on pay invoice button * Adds contact details to the invoice template. * Updates the currency message in the invoice template. * Explicitly includes e-mail address, because theme_contact_email doesn’t propagate * Changes payment text. * s/registration/selections/ * Removes final face palm * Fixes lack of speaker dinner tickets for actual presenters. * Adjusts wording in invoice e-mails * Invoice wording. * (FIX) * Fixes margins on lists and tables * Improvements arising from those CSS fixes. * Changes description tags.
2016-09-30 10:46:05 +00:00
}
2018-06-24 00:14:29 +00:00
return toggleVoidInvoices;
}
var toggleVoidInvoices = _toggleVoidInvoices();
_toggleVoidInvoices = undefined;
</script>
2017-04-25 05:59:35 +00:00
{% endblock %}