Changeset - 2f89311d4225
[Not reviewed]
Merge
! ! !
Patrick Altman - 10 years ago 2014-12-15 21:26:57
paltman@gmail.com
Merge branch 'master' of https://github.com/KyivPy/symposion into KyivPy-master

Conflicts:
symposion/cms/urls.py
symposion/proposals/urls.py
symposion/proposals/views.py
symposion/reviews/urls.py
symposion/schedule/urls.py
symposion/sponsorship/urls.py
49 files changed with 275 insertions and 231 deletions:
0 comments (0 inline, 0 general)
symposion/boxes/urls.py
Show inline comments
...
 
@@ -3,3 +3,4 @@ from django.conf.urls import url, patterns
 

	
 
urlpatterns = patterns("symposion.boxes.views",
 
urlpatterns = patterns(
 
    "symposion.boxes.views",
 
    url(r"^([-\w]+)/edit/$", "box_edit", name="box_edit"),
symposion/cms/urls.py
Show inline comments
...
 
@@ -5,3 +5,4 @@ PAGE_RE = r"(([\w-]{1,})(/[\w-]{1,})*)/"
 

	
 
urlpatterns = patterns("symposion.cms.views",
 
urlpatterns = patterns(
 
    "symposion.cms.views",
 
    url(r"^files/$", "file_index", name="file_index"),
symposion/conference/urls.py
Show inline comments
...
 
@@ -3,3 +3,4 @@ from django.conf.urls import patterns, url
 

	
 
urlpatterns = patterns("symposion.conference.views",
 
urlpatterns = patterns(
 
    "symposion.conference.views",
 
    url(r"^users/$", "user_list", name="user_list"),
symposion/proposals/urls.py
Show inline comments
...
 
@@ -3,16 +3,24 @@ from django.conf.urls import patterns, url
 

	
 
urlpatterns = patterns("symposion.proposals.views",
 
urlpatterns = patterns(
 
    "symposion.proposals.views",
 
    url(r"^submit/$", "proposal_submit", name="proposal_submit"),
 
    url(r"^submit/([\w\-]+)/$", "proposal_submit_kind", name="proposal_submit_kind"),
 
    url(r"^submit/([\w\-]+)/$", "proposal_submit_kind",
 
        name="proposal_submit_kind"),
 
    url(r"^(\d+)/$", "proposal_detail", name="proposal_detail"),
 
    url(r"^(\d+)/edit/$", "proposal_edit", name="proposal_edit"),
 
    url(r"^(\d+)/speakers/$", "proposal_speaker_manage", name="proposal_speaker_manage"),
 
    url(r"^(\d+)/speakers/$", "proposal_speaker_manage",
 
        name="proposal_speaker_manage"),
 
    url(r"^(\d+)/cancel/$", "proposal_cancel", name="proposal_cancel"),
 
    url(r"^(\d+)/leave/$", "proposal_leave", name="proposal_leave"),
 
    url(r"^(\d+)/join/$", "proposal_pending_join", name="proposal_pending_join"),
 
    url(r"^(\d+)/decline/$", "proposal_pending_decline", name="proposal_pending_decline"),
 
    url(r"^(\d+)/join/$", "proposal_pending_join",
 
        name="proposal_pending_join"),
 
    url(r"^(\d+)/decline/$", "proposal_pending_decline",
 
        name="proposal_pending_decline"),
 

	
 
    url(r"^(\d+)/document/create/$", "document_create", name="proposal_document_create"),
 
    url(r"^document/(\d+)/delete/$", "document_delete", name="proposal_document_delete"),
 
    url(r"^document/(\d+)/([^/]+)$", "document_download", name="proposal_document_download"),
 
    url(r"^(\d+)/document/create/$", "document_create",
 
        name="proposal_document_create"),
 
    url(r"^document/(\d+)/delete/$", "document_delete",
 
        name="proposal_document_delete"),
 
    url(r"^document/(\d+)/([^/]+)$", "document_download",
 
        name="proposal_document_download"),
 
)
symposion/proposals/views.py
Show inline comments
...
 
@@ -9,2 +9,3 @@ from django.http import Http404, HttpResponse, HttpResponseForbidden
 
from django.shortcuts import render, redirect, get_object_or_404
 
<<<<<<< HEAD
 

	
...
 
@@ -15,2 +16,5 @@ except ImportError:
 

	
 
=======
 
from hashlib import sha256
 
>>>>>>> fb26371362751584eb8352d06a840b914d24e3fc
 
from django.views import static
...
 
@@ -22,3 +26,5 @@ from django.contrib.auth.decorators import login_required
 
from account.models import EmailAddress
 
from symposion.proposals.models import ProposalBase, ProposalSection, ProposalKind
 
from symposion.proposals.models import (
 
    ProposalBase, ProposalSection, ProposalKind
 
)
 
from symposion.proposals.models import SupportingDocument, AdditionalSpeaker
...
 
@@ -27,3 +33,5 @@ from symposion.utils.mail import send_email
 

	
 
from symposion.proposals.forms import AddSpeakerForm, SupportingDocumentCreateForm
 
from symposion.proposals.forms import (
 
    AddSpeakerForm, SupportingDocumentCreateForm
 
)
 

	
...
 
@@ -125,4 +133,4 @@ def proposal_speaker_manage(request, pk):
 
                except Speaker.DoesNotExist:
 
                    salt = sha_constructor(str(random.random())).hexdigest()[:5]
 
                    token = sha_constructor(salt + email_address).hexdigest()
 
                    salt = sha256(str(random.random())).hexdigest()[:5]
 
                    token = sha256(salt + email_address).hexdigest()
 
                    pending = Speaker.objects.create(
symposion/reviews/urls.py
Show inline comments
...
 
@@ -3,15 +3,28 @@ from django.conf.urls import patterns, url
 

	
 
urlpatterns = patterns("symposion.reviews.views",
 
    url(r"^section/(?P<section_slug>[\w\-]+)/all/$", "review_section", {"reviewed": "all"}, name="review_section"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/reviewed/$", "review_section", {"reviewed": "reviewed"}, name="user_reviewed"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/not_reviewed/$", "review_section", {"reviewed": "not_reviewed"}, name="user_not_reviewed"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/assignments/$", "review_section", {"assigned": True}, name="review_section_assignments"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/status/$", "review_status", name="review_status"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/status/(?P<key>\w+)/$", "review_status", name="review_status"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/list/(?P<user_pk>\d+)/$", "review_list", name="review_list_user"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/admin/$", "review_admin", name="review_admin"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/admin/accept/$", "review_bulk_accept", name="review_bulk_accept"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/$", "result_notification", name="result_notification"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/prepare/$", "result_notification_prepare", name="result_notification_prepare"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/send/$", "result_notification_send", name="result_notification_send"),
 
urlpatterns = patterns(
 
    "symposion.reviews.views",
 
    url(r"^section/(?P<section_slug>[\w\-]+)/all/$", "review_section",
 
        {"reviewed": "all"}, name="review_section"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/reviewed/$", "review_section",
 
        {"reviewed": "reviewed"}, name="user_reviewed"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/not_reviewed/$", "review_section",
 
        {"reviewed": "not_reviewed"}, name="user_not_reviewed"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/assignments/$", "review_section",
 
        {"assigned": True}, name="review_section_assignments"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/status/$", "review_status",
 
        name="review_status"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/status/(?P<key>\w+)/$",
 
        "review_status", name="review_status"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/list/(?P<user_pk>\d+)/$",
 
        "review_list", name="review_list_user"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/admin/$", "review_admin",
 
        name="review_admin"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/admin/accept/$",
 
        "review_bulk_accept", name="review_bulk_accept"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/$",
 
        "result_notification", name="result_notification"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/prepare/$",
 
        "result_notification_prepare", name="result_notification_prepare"),
 
    url(r"^section/(?P<section_slug>[\w\-]+)/notification/(?P<status>\w+)/send/$",
 
        "result_notification_send", name="result_notification_send"),
 

	
...
 
@@ -21,3 +34,4 @@ urlpatterns = patterns("symposion.reviews.views",
 
    url(r"^assignments/$", "review_assignments", name="review_assignments"),
 
    url(r"^assignment/(?P<pk>\d+)/opt-out/$", "review_assignment_opt_out", name="review_assignment_opt_out"),
 
    url(r"^assignment/(?P<pk>\d+)/opt-out/$", "review_assignment_opt_out",
 
        name="review_assignment_opt_out"),
 
)
symposion/schedule/urls.py
Show inline comments
...
 
@@ -3,3 +3,4 @@ from django.conf.urls import url, patterns
 

	
 
urlpatterns = patterns("symposion.schedule.views",
 
urlpatterns = patterns(
 
    "symposion.schedule.views",
 
    url(r"^$", "schedule_conference", name="schedule_conference"),
...
 
@@ -8,3 +9,4 @@ urlpatterns = patterns("symposion.schedule.views",
 
    url(r"^presentations.csv$", "schedule_list_csv", name="schedule_list_csv"),
 
    url(r"^presentation/(\d+)/$", "schedule_presentation_detail", name="schedule_presentation_detail"),
 
    url(r"^presentation/(\d+)/$", "schedule_presentation_detail",
 
        name="schedule_presentation_detail"),
 
    url(r"^([\w\-]+)/$", "schedule_detail", name="schedule_detail"),
...
 
@@ -12,4 +14,6 @@ urlpatterns = patterns("symposion.schedule.views",
 
    url(r"^([\w\-]+)/list/$", "schedule_list", name="schedule_list"),
 
    url(r"^([\w\-]+)/presentations.csv$", "schedule_list_csv", name="schedule_list_csv"),
 
    url(r"^([\w\-]+)/edit/slot/(\d+)/", "schedule_slot_edit", name="schedule_slot_edit"),
 
    url(r"^([\w\-]+)/presentations.csv$", "schedule_list_csv",
 
        name="schedule_list_csv"),
 
    url(r"^([\w\-]+)/edit/slot/(\d+)/", "schedule_slot_edit",
 
        name="schedule_slot_edit"),
 
    url(r"^conference.json", "schedule_json", name="schedule_json"),
symposion/speakers/urls.py
Show inline comments
...
 
@@ -3,8 +3,11 @@ from django.conf.urls import patterns, url
 

	
 
urlpatterns = patterns("symposion.speakers.views",
 
urlpatterns = patterns(
 
    "symposion.speakers.views",
 
    url(r"^create/$", "speaker_create", name="speaker_create"),
 
    url(r"^create/(\w+)/$", "speaker_create_token", name="speaker_create_token"),
 
    url(r"^create/(\w+)/$", "speaker_create_token",
 
        name="speaker_create_token"),
 
    url(r"^edit/(?:(?P<pk>\d+)/)?$", "speaker_edit", name="speaker_edit"),
 
    url(r"^profile/(?P<pk>\d+)/$", "speaker_profile", name="speaker_profile"),
 
    url(r"^staff/create/(\d+)/$", "speaker_create_staff", name="speaker_create_staff"),
 
    url(r"^staff/create/(\d+)/$", "speaker_create_staff",
 
        name="speaker_create_staff"),
 
)
symposion/sponsorship/urls.py
Show inline comments
...
 
@@ -4,3 +4,4 @@ from django.views.generic import TemplateView
 

	
 
urlpatterns = patterns("symposion.sponsorship.views",
 
urlpatterns = patterns(
 
    "symposion.sponsorship.views",
 
    url(r"^$", TemplateView.as_view(template_name="sponsorship/list.html"), name="sponsor_list"),
symposion/teams/urls.py
Show inline comments
...
 
@@ -3,3 +3,4 @@ from django.conf.urls import patterns, url
 

	
 
urlpatterns = patterns("symposion.teams.views",
 
urlpatterns = patterns(
 
    "symposion.teams.views",
 
    # team specific
symposion/templates/cms/file_create.html
Show inline comments
...
 
@@ -10,3 +10,3 @@
 
            <h1>Upload File</h1>
 
            <form method="POST" action="{% url file_create %}" enctype="multipart/form-data">
 
            <form method="POST" action="{% url "file_create" %}" enctype="multipart/form-data">
 
                {% csrf_token %}
...
 
@@ -19,2 +19,2 @@
 
    </div>
 
{% endblock %}
...
 
\ No newline at end of file
 
{% endblock %}
symposion/templates/cms/file_index.html
Show inline comments
...
 
@@ -8,6 +8,6 @@
 
            <h1>Files</h1>
 
                    
 

 
            {% for file in files %}
 
                <div style="margin-top: 1em;">
 
                    <form class="pull-right" action="{% url file_delete file.pk %}" method="post">
 
                    <form class="pull-right" action="{% url "file_delete" file.pk %}" method="post">
 
                        {% csrf_token %}
...
 
@@ -22,3 +22,3 @@
 
            <div style="margin-top: 2em">
 
                <a class="btn btn-success" href="{% url file_create %}">
 
                <a class="btn btn-success" href="{% url "file_create" %}">
 
                    <i class="icon-plus icon-white"></i>
symposion/templates/conference/user_list.html
Show inline comments
...
 
@@ -62,3 +62,3 @@
 
                </thead>
 
                
 

 
                <tbody>
...
 
@@ -70,5 +70,5 @@
 
                                {% if user.speaker_profile %}
 
                                    <a href="{% url speaker_profile user.speaker_profile.pk %}">{{ user.speaker_profile }}</a>
 
                                    <a href="{% url "speaker_profile" user.speaker_profile.pk %}">{{ user.speaker_profile }}</a>
 
                                {% else %}
 
                                    <a href="{% url speaker_create_staff user.pk %}" class="btn btn-mini">create</a>
 
                                    <a href="{% url "speaker_create_staff" user.pk %}" class="btn btn-mini">create</a>
 
                                {% endif %}
symposion/templates/dashboard.html
Show inline comments
...
 
@@ -18,3 +18,3 @@
 
                {% if not user.speaker_profile %}
 
                    <a href="{% url speaker_create %}" class="btn">
 
                    <a href="{% url "speaker_create" %}" class="btn">
 
                        <i class="icon-plus-sign"></i> Create a speaker profile
...
 
@@ -22,6 +22,6 @@
 
                {% else %}
 
                    <a href="{% url speaker_edit %}" class="btn">
 
                    <a href="{% url "speaker_edit" %}" class="btn">
 
                        <i class="icon-pencil"></i> Edit your speaker profile
 
                    </a>
 
                    <a href="{% url proposal_submit %}" class="btn">
 
                    <a href="{% url "proposal_submit" %}" class="btn">
 
                        <i class="icon-plus-sign"></i> Submit a new proposal
...
 
@@ -31,6 +31,6 @@
 
        </div>
 
        
 

 
        <div class="dashboard-panel-content">
 
            {% if not user.speaker_profile %}
 
                <p>To submit a proposal, you must first <a href="{% url speaker_create %}">create a speaker profile</a>.</p>
 
                <p>To submit a proposal, you must first <a href="{% url "speaker_create" %}">create a speaker profile</a>.</p>
 
            {% else %}
...
 
@@ -52,3 +52,3 @@
 
                {% endif %}
 
            
 

 
                {% associated_proposals as associated_proposals %}
...
 
@@ -68,3 +68,3 @@
 
                {% endif %}
 
                
 

 
                {% pending_proposals as pending_proposals %}
...
 
@@ -87,3 +87,3 @@
 
    </div>
 
    
 

 
    <div class="dashboard-panel">
...
 
@@ -94,3 +94,3 @@
 
                {% if not user.sponsorships.exists %}
 
                    <a href="{% url sponsor_apply %}" class="btn">
 
                    <a href="{% url "sponsor_apply" %}" class="btn">
 
                        <i class="icon-plus-sign"></i> Apply to be a sponsor
...
 
@@ -100,6 +100,6 @@
 
        </div>
 
        
 

 
        <div class="dashboard-panel-content">
 
            {% if not user.sponsorships.exists %}
 
                <p>If you or your organization would be interested in sponsorship opportunities, <a href="{% url sponsor_apply %}">use our online form to apply to be a sponsor</a>.
 
                <p>If you or your organization would be interested in sponsorship opportunities, <a href="{% url "sponsor_apply" %}">use our online form to apply to be a sponsor</a>.
 
            {% else %}
...
 
@@ -109,3 +109,3 @@
 
                        <li>
 
                            <a href="{% url sponsor_detail sponsorship.pk %}"><b>{{ sponsorship.name }}</b></a>
 
                            <a href="{% url "sponsor_detail" sponsorship.pk %}"><b>{{ sponsorship.name }}</b></a>
 
                            ({{ sponsorship.level }})
...
 
@@ -120,3 +120,3 @@
 
                <p>
 
                    As staff, you can directly <a href="{% url sponsor_add %}">add a sponsor</a> if the organization isn't
 
                    As staff, you can directly <a href="{% url "sponsor_add" %}">add a sponsor</a> if the organization isn't
 
                    applying themselves.
...
 
@@ -126,3 +126,3 @@
 
    </div>
 
        
 

 
    {% if review_sections %}
...
 
@@ -133,6 +133,6 @@
 
            </div>
 
            
 

 
            <div class="dashboard-panel-content">
 
                <h4>Reviews by Section</h4>
 
                
 

 
                <ul>
...
 
@@ -140,8 +140,8 @@
 
                        <h5>{{ section }}</h5>
 
                            <li><a href="{% url review_section section.section.slug %}">All</a></li>
 
                            <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 "review_section" section.section.slug %}">All</a></li>
 
                            <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>
 
                    {% endfor %}
 
                </ul>
 
                
 

 
                {% comment %}
...
 
@@ -165,3 +165,3 @@
 
                {% endcomment %}
 
                
 

 
            </div>
...
 
@@ -169,3 +169,3 @@
 
    {% endif %}
 
    
 

 
    {% available_teams as available_teams %}
...
 
@@ -177,3 +177,3 @@
 
            </div>
 
            
 

 
            <div class="dashboard-panel-content">
...
 
@@ -185,3 +185,3 @@
 
                                <td>
 
                                    <a href="{% url team_detail membership.team.slug %}">{{ membership.team.name }}</a>
 
                                    <a href="{% url "team_detail" membership.team.slug %}">{{ membership.team.name }}</a>
 
                                    {% if membership.team.description %}<br>{{ membership.team.description }}{% endif %}
symposion/templates/emails/proposal_new_message/message.html
Show inline comments
...
 
@@ -8,4 +8,4 @@
 
<p>
 
    {% if reviewer %}{% url review_detail proposal.pk as detail_url %}{% else %}{% url proposal_detail proposal.pk as detail_url %}{% endif %}
 
    {% if reviewer %}{% url "review_detail" proposal.pk as detail_url %}{% else %}{% url "proposal_detail" proposal.pk as detail_url %}{% endif %}
 
    Respond online at <a href="http://{{ current_site }}{{ detail_url }}#proposal-feedback">http://{{ current_site }}{{ detail_url }}#proposal-feedback</a>
 
</p>
...
 
\ No newline at end of file
 
</p>
symposion/templates/emails/proposal_updated/message.html
Show inline comments
...
 
@@ -5,3 +5,3 @@
 
<p>
 
    {% url review_detail proposal.pk as detail_url %}
 
    {% url "review_detail" proposal.pk as detail_url %}
 
    View the latest version of the proposal online at <a href="http://{{ current_site }}{{ detail_url }}">http://{{ current_site }}{{ detail_url }}</a>
symposion/templates/emails/speaker_addition/message.html
Show inline comments
...
 
@@ -4,3 +4,3 @@
 
<p>For more details, visit the {{ current_site.name }} speaker dashboard:
 
    <a href="http://{{ current_site }}{% url dashboard %}">http://{{ current_site }}{% url dashboard %}</a>
 
    <a href="http://{{ current_site }}{% url "dashboard" %}">http://{{ current_site }}{% url "dashboard" %}</a>
 
</p>
symposion/templates/emails/speaker_invite/message.html
Show inline comments
...
 
@@ -5,3 +5,3 @@
 

	
 
<p><a href="http://{{ current_site }}{% url speaker_create_token token %}">http://{{ current_site }}{% url speaker_create_token token %}</a></p>
 
<p><a href="http://{{ current_site }}{% url "speaker_create_token" token %}">http://{{ current_site }}{% url "speaker_create_token" token %}</a></p>
 

	
symposion/templates/proposals/_pending_proposal_row.html
Show inline comments
...
 
@@ -4,7 +4,7 @@
 
    <td>
 
        <a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a>
 
        <a href="{% url "proposal_detail" proposal.pk %}">{{ proposal.title }}</a>
 
    </td>
 
    
 

 
    <td>{{ proposal.kind.name }}</td>
 
    
 

 
    <td>
...
 
@@ -24,3 +24,3 @@
 
    </td>
 
        
 

 
    <td>
...
 
@@ -33,5 +33,5 @@
 
                <ul class="dropdown-menu">
 
                    <li><a href="{% url proposal_pending_join proposal.id %}">
 
                    <li><a href="{% url "proposal_pending_join" proposal.id %}">
 
			{% trans 'Accept invitation' %}</a></li>
 
                    <li><a href="{% url proposal_pending_decline proposal.id
 
                    <li><a href="{% url "proposal_pending_decline" proposal.id
 
		    %}">{% trans 'Decline invitation' %}</a></li>
symposion/templates/proposals/_proposal_fields.html
Show inline comments
...
 
@@ -5,9 +5,9 @@
 
    <dd>{{ proposal.speaker }}</dd>
 
    
 

 
    <dt>{% trans "Track" %}</dt>
 
    <dd>{{ proposal.track }}&nbsp;</dd>
 
    
 

 
    <dt>{% trans "Audience Level" %}</dt>
 
    <dd>{{ proposal.get_audience_level_display }}&nbsp;</dd>
 
    
 

 
    {% if proposal.additional_speakers.all %}
...
 
@@ -26,15 +26,15 @@
 
    {% endif %}
 
    
 

 
    <dt>{% trans "Description" %}</dt>
 
    <dd>{{ proposal.description }}&nbsp;</dd>
 
    
 

 
    <dt>{% trans "Abstract" %}</dt>
 
    <dd>{{ proposal.abstract|safe }}&nbsp;</dd>
 
    
 

 
    <dt>{% trans "Notes" %}</dt>
 
    <dd>{{ proposal.additional_notes|safe }}&nbsp;</dd>
 
    
 

 
    <dt>{% trans "Speaker Bio" %}</dt>
 
    <dd>{{ proposal.speaker.biography|safe }}&nbsp;</dd>
 
    
 

 
    <dt>{% trans "Documents" %}</dt>
...
 
@@ -47,3 +47,3 @@
 
                        <td>
 
                        <form style="margin: 0;" method="post" action="{% url proposal_document_delete document.pk %}">
 
                        <form style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
 
                            {% csrf_token %}
symposion/templates/proposals/_proposal_row.html
Show inline comments
...
 
@@ -2,7 +2,7 @@
 
    <td>
 
        <a href="{% url proposal_detail proposal.pk %}">{{ proposal.title }}</a>
 
        <a href="{% url "proposal_detail" proposal.pk %}">{{ proposal.title }}</a>
 
    </td>
 
    
 

 
    <td>{{ proposal.kind.name }}</td>
 
    
 

 
    <td>
...
 
@@ -22,3 +22,3 @@
 
    </td>
 
        
 

 
    <td>
...
 
@@ -26,4 +26,4 @@
 
            {% if request.user == proposal.speaker.user and proposal.can_edit %}
 
                <a href="{% url proposal_edit proposal.pk %}" class="btn btn-mini"><i class="icon-pencil"></i> Edit</a>
 
                <a href="{% url proposal_speaker_manage proposal.id %}" class="btn btn-mini"><i class="icon-user"></i> Manage Additional Speakers</a>
 
                <a href="{% url "proposal_edit" proposal.pk %}" class="btn btn-mini"><i class="icon-pencil"></i> Edit</a>
 
                <a href="{% url "proposal_speaker_manage" proposal.id %}" class="btn btn-mini"><i class="icon-user"></i> Manage Additional Speakers</a>
 
            {% endif %}
symposion/templates/proposals/proposal_cancel.html
Show inline comments
...
 
@@ -10,3 +10,3 @@
 
    <h1>Cancel: {{ proposal.title }}</h1>
 
    
 

 
    <form method="POST" action="" enctype="multipart/form-data">
...
 
@@ -15,3 +15,3 @@
 
        <input class="btn btn-danger" type="submit" value="I am sure" />
 
        <a class="btn" href="{% url proposal_detail proposal.pk %}">{% trans 'No, keep it for now' %}</a>
 
        <a class="btn" href="{% url "proposal_detail" proposal.pk %}">{% trans 'No, keep it for now' %}</a>
 
    </form>
symposion/templates/proposals/proposal_detail.html
Show inline comments
...
 
@@ -12,6 +12,6 @@
 
            {% if request.user == proposal.speaker.user %}
 
                <a href="{% url proposal_edit proposal.pk %}" class="btn">
 
                <a href="{% url "proposal_edit" proposal.pk %}" class="btn">
 
                    {% trans "Edit this proposal" %}
 
                </a>
 
                <a href="{% url proposal_cancel proposal.pk %}" class="btn">
 
                <a href="{% url "proposal_cancel" proposal.pk %}" class="btn">
 
                    {% trans "Cancel this proposal" %}
...
 
@@ -19,3 +19,3 @@
 
            {% else %}
 
                <a href="{% url proposal_leave proposal.pk %}" class="btn">
 
                <a href="{% url "proposal_leave" proposal.pk %}" class="btn">
 
                    {% trans "Remove me from this proposal" %}
...
 
@@ -27,5 +27,5 @@
 
    </div>
 
    
 

 
    <h3>#{{ proposal.number }}: {{ proposal.title }} ({{ proposal.speaker }}, Track: {{ proposal.track }})</h3>
 
    
 

 
    <div class="tabbable">
...
 
@@ -47,3 +47,3 @@
 
                    <h3>{% trans 'Supporting Documents' %}</h3>
 
                    
 

 
                    {% if proposal.supporting_documents.exists %}
...
 
@@ -54,3 +54,3 @@
 
                                    <td>
 
                                    <form style="margin: 0;" method="post" action="{% url proposal_document_delete document.pk %}">
 
                                    <form style="margin: 0;" method="post" action="{% url "proposal_document_delete" document.pk %}">
 
                                        {% csrf_token %}
...
 
@@ -68,8 +68,8 @@
 
            {% endif %}
 
    
 

 
    {% if message_form %}
 
        <div class="tab-pane" id="proposal-feedback">
 
            
 

 
            <h3>{% trans 'Conversation with Reviewers' %}</h3>
 
            
 

 
            {% for message in proposal.messages.all %}
...
 
@@ -81,7 +81,7 @@
 
            {% endfor %}
 
            
 

 
            <h3>{% trans 'Leave a Message' %}</h3>
 
            
 

 
            <p>{% trans 'You can leave a message for the reviewers here.' %}</p>
 
            
 

 
            <form action="" method="POST" accept-charset="utf-8">
...
 
@@ -107,3 +107,3 @@
 
            var History = window.History;
 
            
 

 
            $(window).bind("anchorchange", function() {
...
 
@@ -111,3 +111,3 @@
 
            });
 
            
 

 
            $('#.nav-tabs a[data-toggle="tab"]').on('shown', function (e) {
symposion/templates/proposals/proposal_edit.html
Show inline comments
...
 
@@ -9,5 +9,5 @@
 
    <h1>Edit: {{ proposal.title }}</h1>
 
    
 
    <p><a href="{% url proposal_speaker_manage proposal.pk %}">Manage speakers</a></p>
 
    
 

	
 
    <p><a href="{% url "proposal_speaker_manage" proposal.pk %}">Manage speakers</a></p>
 

	
 
    <form method="POST" action="" enctype="multipart/form-data">
...
 
@@ -19,3 +19,3 @@
 
            <input class="btn btn-primary" type="submit" value="Save" />
 
            <a class="btn" href="{% url proposal_detail proposal.pk %}">Cancel</a>
 
            <a class="btn" href="{% url "proposal_detail" proposal.pk %}">Cancel</a>
 
        </div>
symposion/templates/proposals/proposal_speaker_manage.html
Show inline comments
...
 
@@ -7,10 +7,10 @@
 
    <h1>{% trans 'Proposal:' %} {{ proposal.title }}</h1>
 
    
 

 
    <p>
 
      <a href="{% url proposal_edit proposal.pk %}">{% trans 'Edit proposal' %}
 
      <a href="{% url "proposal_edit" proposal.pk %}">{% trans 'Edit proposal' %}
 
      </a>
 
    </p>
 
    
 

 
    <h2>{% trans 'Current Speakers' %}</h2>
 
    
 

 
    {% for speaker in speakers %}
...
 
@@ -22,5 +22,5 @@
 
    {% endfor %}
 
    
 

 
    <h2>{% trans 'Add another speaker' %}</h2>
 
    
 

 
    <form method="POST" action="" enctype="multipart/form-data" class="uniForm">
symposion/templates/proposals/proposal_submit.html
Show inline comments
...
 
@@ -9,9 +9,9 @@
 
    {% box "proposal_submit" %}
 
    
 

 
    {% if kinds %}
 
        <p>Select what kind of proposal you'd like to submit:</p>
 
    
 

 
        <ul>
 
            {% for kind in kinds %}
 
                <li><a href="{% url proposal_submit_kind kind.slug %}">{{ kind }}</a></li>
 
                <li><a href="{% url "proposal_submit_kind" kind.slug %}">{{ kind }}</a></li>
 
            {% endfor %}
symposion/templates/reviews/_review_table.html
Show inline comments
...
 
@@ -14,3 +14,3 @@
 
    </thead>
 
    
 

 
    <tbody>
...
 
@@ -20,3 +20,3 @@
 
                <td>
 
                    <a href="{% url review_detail proposal.pk %}">
 
                    <a href="{% url "review_detail" proposal.pk %}">
 
                        <small><strong>{{ proposal.speaker }}</strong></small>
symposion/templates/reviews/base.html
Show inline comments
...
 
@@ -62,3 +62,3 @@
 
                        <li>
 
                            <a href="{% url review_section section.section.slug %}">
 
                            <a href="{% url "review_section" section.section.slug %}">
 
                                {% trans "All Reviews" %}
...
 
@@ -68,3 +68,3 @@
 
                        <li>
 
                            <a href="{% url review_section_assignments section.section.slug %}">
 
                            <a href="{% url "review_section_assignments" section.section.slug %}">
 
                                {% trans "Your Assignments" %}
...
 
@@ -74,3 +74,3 @@
 
                        <li>
 
                            <a href="{% url review_status section.section.slug %}">
 
                            <a href="{% url "review_status" section.section.slug %}">
 
                                {% trans "Voting Status" %}
...
 
@@ -80,3 +80,3 @@
 
                            <li>
 
                                <a href="{% url result_notification section.section.slug 'accepted' %}">Result Notification</a>
 
                                <a href="{% url "result_notification" section.section.slug 'accepted' %}">Result Notification</a>
 
                            </li>
symposion/templates/reviews/result_notification.html
Show inline comments
...
 
@@ -13,15 +13,15 @@
 
{% block body %}
 
    
 

 
    <ul class="nav nav-pills">
 
        <li{% if status == 'accepted' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'accepted' %}">accepted</a>
 
        <li{% if status == 'rejected' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'rejected' %}">rejected</a>
 
        <li{% if status == 'standby' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'standby' %}">standby</a>
 
        <li{% if status == 'accepted' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'accepted' %}">accepted</a>
 
        <li{% if status == 'rejected' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'rejected' %}">rejected</a>
 
        <li{% if status == 'standby' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'standby' %}">standby</a>
 
    </ul>
 
    
 

 
    <h1>Result Notification</h1>
 
    
 
    <form method="post" action="{% url result_notification_prepare section_slug status %}">
 
        
 

	
 
    <form method="post" action="{% url "result_notification_prepare" section_slug status %}">
 

	
 
        {% csrf_token %}
 
        
 

 
        <p>
...
 
@@ -39,3 +39,3 @@
 
        </p>
 
        
 

 
        <table class="table table-striped table-bordered">
...
 
@@ -49,3 +49,3 @@
 
            </thead>
 
            
 

 
            <tbody>
...
 
@@ -56,3 +56,3 @@
 
                        <td>
 
                            <a href="{% url review_detail proposal.pk %}">
 
                            <a href="{% url "review_detail" proposal.pk %}">
 
                                <small><strong>{{ proposal.speaker }}</strong></small>
symposion/templates/reviews/result_notification_prepare.html
Show inline comments
...
 
@@ -6,3 +6,3 @@
 
    <h1>Result Notification Prepare</h1>
 
    
 

 
    <div class="row">
...
 
@@ -24,7 +24,7 @@
 
            <h2>Email</h2>
 
            
 
            <form method="post" action="{% url result_notification_send section_slug status %}">
 
                
 

	
 
            <form method="post" action="{% url "result_notification_send" section_slug status %}">
 

	
 
                {% csrf_token %}
 
                
 

 
                <label>From Address</label>
...
 
@@ -40,7 +40,7 @@
 
                <input type="hidden" name="proposal_pks" value="{{ proposal_pks }}" />
 
                
 

 
                {% include "reviews/_result_notification_prepare_help.html" %}
 
                
 

 
                <button type="submit" class="btn btn-primary">Send {{ proposals|length }} Email{{ proposals|length|pluralize }}</button>
 
                <a class="btn" href="{% url result_notification section_slug status %}">Cancel</a>
 
                <a class="btn" href="{% url "result_notification" section_slug status %}">Cancel</a>
 
            </form>
symposion/templates/reviews/review_admin.html
Show inline comments
...
 
@@ -4,3 +4,3 @@
 
    <h1>Reviewers</h1>
 
    
 

 
    <table class="table table-striped">
...
 
@@ -32,3 +32,3 @@
 
            <td>
 
                <a href="{% url review_list_user section_slug reviewer.pk %}">{{ reviewer.get_full_name }}</a>
 
                <a href="{% url "review_list_user" section_slug reviewer.pk %}">{{ reviewer.get_full_name }}</a>
 
            </td>
symposion/templates/reviews/review_assignment.html
Show inline comments
...
 
@@ -4,3 +4,3 @@
 
    <h1>Review Assignments</h1>
 
    
 

 
    {% if assignments %}
...
 
@@ -20,3 +20,3 @@
 
                    <td>
 
                        <form method="post" action="{% url review_assignment_opt_out assignment.pk %}">
 
                        <form method="post" action="{% url "review_assignment_opt_out" assignment.pk %}">
 
                            {% csrf_token %}
symposion/templates/reviews/review_detail.html
Show inline comments
...
 
@@ -68,5 +68,5 @@
 
    {% endif %}
 
    
 

 
    <h3>#{{ proposal.number }}: {{ proposal.title }} ({{ proposal.speaker }})</h3>
 
    
 

 
    <div class="tabbable">
...
 
@@ -82,3 +82,3 @@
 
            <div class="tab-pane" id="proposal-reviews">
 
                
 

 
                <h4>{% trans "Current Results" %}</h4>
...
 
@@ -102,5 +102,5 @@
 
                </table>
 
                
 

 
                <hr />
 
                
 

 
                {% if review_form %}
...
 
@@ -128,3 +128,3 @@
 
                                <div class="pull-right">
 
                                    <form class="form-inline" action="{% url review_delete review.id %}" method="POST">
 
                                    <form class="form-inline" action="{% url "review_delete" review.id %}" method="POST">
 
                                        {% csrf_token %}
...
 
@@ -159,3 +159,3 @@
 
                {% endif %}
 
                
 

 
                <form action="" method="POST"accept-charset="utf-8">
...
 
@@ -184,3 +184,3 @@
 
            var History = window.History;
 
            
 

 
            $(window).bind("anchorchange", function() {
...
 
@@ -188,3 +188,3 @@
 
            });
 
            
 

 
            $('#.nav-tabs a[data-toggle="tab"]').on('shown', function (e) {
...
 
@@ -196,3 +196,3 @@
 
    </script>
 
    
 

 
{% endblock %}
symposion/templates/reviews/review_review.html
Show inline comments
...
 
@@ -9,6 +9,6 @@
 
    <h1>Proposal Review</h1>
 
    
 

 
    <div class="proposal">
 
        <h2>{{ proposal.title }}</h2>
 
        
 

 
        <p>
...
 
@@ -18,3 +18,3 @@
 
        </p>
 
        
 

 
        <div>
...
 
@@ -22,5 +22,5 @@
 
        </div>
 
        
 

 
        <p><b>Type</b>: {{ proposal.get_session_type_display }}</p>
 
        
 

 
        <h3>Abstract</h3>
...
 
@@ -29,7 +29,7 @@
 
        </div>
 
        
 

 
        <p><b>Audience level</b>: {{ proposal.get_audience_level_display }}</p>
 
        
 

 
        <p><b>Submitting speaker</b>: {{ proposal.speaker }}</p> {# @@@ bio? #}
 
        
 

 
        {% if proposal.additional_speakers.all %}
...
 
@@ -46,3 +46,3 @@
 
        {% endif %}
 
        
 

 
        <h3>Additional Notes (private from submitter)</h3>
...
 
@@ -52,3 +52,3 @@
 
    </div>
 
    
 

 
    {% markitup_media %}
...
 
@@ -56,4 +56,4 @@
 
    <h2>Review</h2>
 
    
 
    <form method="POST" action="{% url review_review proposal.pk %}" class="uniForm">
 

	
 
    <form method="POST" action="{% url "review_review" proposal.pk %}" class="uniForm">
 
        {% csrf_token %}
...
 
@@ -66,6 +66,6 @@
 
    </form>
 
    
 

 
    <h2>Comment</h2>
 
    
 
    <form method="POST" action="{% url review_comment proposal.pk %}" class="uniForm">
 

	
 
    <form method="POST" action="{% url "review_comment" proposal.pk %}" class="uniForm">
 
        {% csrf_token %}
...
 
@@ -78,3 +78,3 @@
 
    </form>
 
    
 

 
{% endblock %}
symposion/templates/reviews/review_stats.html
Show inline comments
...
 
@@ -4,10 +4,10 @@
 
    <h1>Voting Status ({{ section_slug }})</h1>
 
    
 

 
    {% if key %}
 
        <div class="breadcrumbs">
 
            <a href="{% url review_status section_slug "positive" %}">Positive</a> |
 
            <a href="{% url review_status section_slug "negative" %}">Negative</a> |
 
            <a href="{% url review_status section_slug "indifferent" %}">Indifferent</a> |
 
            <a href="{% url review_status section_slug "controversial" %}">Controversial</a>  |
 
            <a href="{% url review_status section_slug "too_few" %}">Too Few</a> 
 
            <a href="{% url "review_status" section_slug "positive" %}">Positive</a> |
 
            <a href="{% url "review_status" section_slug "negative" %}">Negative</a> |
 
            <a href="{% url "review_status" section_slug "indifferent" %}">Indifferent</a> |
 
            <a href="{% url "review_status" section_slug "controversial" %}">Controversial</a>  |
 
            <a href="{% url "review_status" section_slug "too_few" %}">Too Few</a>
 
        </div>
...
 
@@ -41,6 +41,6 @@
 
        <p>Reviews are placed into one of five buckets depending on the state of their votes:</p>
 
        
 

 
        <dl>
 
            <dt>
 
                <a href="{% url review_status section_slug "positive" %}">Positive</a>
 
                <a href="{% url "review_status" section_slug "positive" %}">Positive</a>
 
                <span class="badge">{{ proposals.positive|length }}</span>
...
 
@@ -51,3 +51,3 @@
 
            <dt>
 
                <a href="{% url review_status section_slug "negative" %}">Negative</a>
 
                <a href="{% url "review_status" section_slug "negative" %}">Negative</a>
 
                <span class="badge">{{ proposals.negative|length }}</span>
...
 
@@ -58,3 +58,3 @@
 
            <dt>
 
                <a href="{% url review_status section_slug "indifferent" %}">Indifferent</a>
 
                <a href="{% url "review_status" section_slug "indifferent" %}">Indifferent</a>
 
                <span class="badge">{{ proposals.indifferent|length }}</span>
...
 
@@ -65,3 +65,3 @@
 
            <dt>
 
                <a href="{% url review_status section_slug "controversial" %}">Controversial</a>
 
                <a href="{% url "review_status" section_slug "controversial" %}">Controversial</a>
 
                <span class="badge">{{ proposals.controversial|length }}</span>
...
 
@@ -72,3 +72,3 @@
 
            <dt>
 
                <a href="{% url review_status section_slug "too_few" %}">Too Few Reviews</a>
 
                <a href="{% url "review_status" section_slug "too_few" %}">Too Few Reviews</a>
 
                <span class="badge">{{ proposals.too_few|length }}</span>
...
 
@@ -81,2 +81,2 @@
 

	
 
{% endblock %}
...
 
\ No newline at end of file
 
{% endblock %}
symposion/templates/schedule/_edit_grid.html
Show inline comments
...
 
@@ -17,5 +17,5 @@
 
                            {% if not slot.content %}
 
                                <a class="btn btn-mini edit-slot" data-action="{% url schedule_slot_edit schedule.section.slug slot.pk %}" href="#">+</a>
 
                                <a class="btn btn-mini edit-slot" data-action="{% url "schedule_slot_edit" schedule.section.slug slot.pk %}" href="#">+</a>
 
                            {% else %}
 
                                <span class="title"><a class="edit-slot" data-action="{% url schedule_slot_edit schedule.section.slug slot.pk %}" href="#">{{ slot.content.title }}</a></span>
 
                                <span class="title"><a class="edit-slot" data-action="{% url "schedule_slot_edit" schedule.section.slug slot.pk %}" href="#">{{ slot.content.title }}</a></span>
 
                                <span class="speaker">{{ slot.content.speaker }}</span>
...
 
@@ -28,3 +28,3 @@
 
                            {% endif %}
 
                            &mdash; <a class="edit-slot" data-action="{% url schedule_slot_edit schedule.section.slug slot.pk %}" href="#">edit</a>
 
                            &mdash; <a class="edit-slot" data-action="{% url "schedule_slot_edit" schedule.section.slug slot.pk %}" href="#">edit</a>
 
                        {% endif %}
...
 
@@ -38,2 +38,2 @@
 
    </tbody>
 
</table>
...
 
\ No newline at end of file
 
</table>
symposion/templates/schedule/_grid.html
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
                                <span class="title">
 
                                    <a href="{% url schedule_presentation_detail slot.content.pk %}">{{ slot.content.title }}</a>
 
                                    <a href="{% url "schedule_presentation_detail" slot.content.pk %}">{{ slot.content.title }}</a>
 
                                </span>
symposion/templates/schedule/_slot_edit.html
Show inline comments
 
{% load i18n bootstrap_tags %}
 
<form id="slotEditForm" class="modal-form" method="POST" action="{% url schedule_slot_edit slug slot.pk %}">
 
<form id="slotEditForm" class="modal-form" method="POST" action="{% url "schedule_slot_edit" slug slot.pk %}">
 
    <div class="modal-header">
...
 
@@ -13,2 +13,2 @@
 
    </div>
 
</form>
...
 
\ No newline at end of file
 
</form>
symposion/templates/schedule/presentation_detail.html
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
        {% for speaker in presentation.speakers %}
 
            <a href="{% url speaker_profile speaker.pk %}">{{ speaker }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
 
            <a href="{% url "speaker_profile" speaker.pk %}">{{ speaker }}</a>{% if not forloop.last %}, {% endif %}{% endfor %}
 
    </h4>
symposion/templates/schedule/schedule_list.html
Show inline comments
...
 
@@ -35,3 +35,3 @@
 
                <div class="span8 presentation well">
 
                    <h3><a href="{% url schedule_presentation_detail presentation.pk %}">{{ presentation.title }}</a></h3>
 
                    <h3><a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a></h3>
 
                    <h4>{{ presentation.speakers|join:", " }}</h4>
symposion/templates/speakers/speaker_create.html
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
            <input class="btn btn-primary" type="submit" value="Save" />
 
            <a class="btn" href="{% url dashboard %}">Cancel</a>
 
            <a class="btn" href="{% url "dashboard" %}">Cancel</a>
 
        </div>
symposion/templates/speakers/speaker_edit.html
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
            <input class="btn btn-primary" type="submit" value="Save" />
 
            <a class="btn" href="{% url dashboard %}">Cancel</a>
 
            <a class="btn" href="{% url "dashboard" %}">Cancel</a>
 
        </div>
symposion/templates/speakers/speaker_profile.html
Show inline comments
...
 
@@ -19,3 +19,3 @@
 
            {% if speaker.user == request.user or request.user.is_staff %}
 
                <a class="btn pull-right" href="{% url speaker_edit speaker.pk %}">Edit</a>
 
                <a class="btn pull-right" href="{% url "speaker_edit" speaker.pk %}">Edit</a>
 
            {% endif %}
...
 
@@ -23,6 +23,6 @@
 
            <div class="bio">{{ speaker.biography|safe }}</div>
 
            
 

 
            <h2>Presentations</h2>
 
            {% for presentation in presentations %}
 
                <h3><a href="{% url schedule_presentation_detail presentation.pk %}">{{ presentation.title }}</a></h3>
 
                <h3><a href="{% url "schedule_presentation_detail" presentation.pk %}">{{ presentation.title }}</a></h3>
 
                {% if presentation.slot %}
symposion/templates/sponsorship/add.html
Show inline comments
...
 
@@ -11,3 +11,3 @@
 
{% block body %}
 
    <form method="POST" action="{% url sponsor_add %}" class="form-horizontal">
 
    <form method="POST" action="{% url "sponsor_add" %}" class="form-horizontal">
 
        {% csrf_token %}
...
 
@@ -17,3 +17,3 @@
 
            <input class="btn btn-primary" type="submit" value="Add" />
 
            <a class="btn" href="{% url dashboard %}">Cancel</a>
 
            <a class="btn" href="{% url "dashboard" %}">Cancel</a>
 
        </div>
symposion/templates/sponsorship/apply.html
Show inline comments
...
 
@@ -20,5 +20,5 @@
 
            <input class="btn btn-primary" type="submit" value="Apply" />
 
            <a class="btn" href="{% url dashboard %}">Cancel</a>
 
            <a class="btn" href="{% url "dashboard" %}">Cancel</a>
 
            <p class="help-block">
 
                <small>By submitting this sponsor application you are agreeing to the <a href="{% url cms_page "sponsor/terms/" %}" target="_blank">terms and conditions</a>.</small>
 
                <small>By submitting this sponsor application you are agreeing to the <a href="{% url "cms_page" "sponsor/terms/" %}" target="_blank">terms and conditions</a>.</small>
 
            </p>
symposion/templates/sponsorship/detail.html
Show inline comments
...
 
@@ -35,3 +35,3 @@
 
            <input class="btn btn-primary" type="submit" value="Save" />
 
            <a class="btn" href="{% url dashboard %}">Cancel</a>
 
            <a class="btn" href="{% url "dashboard" %}">Cancel</a>
 
        </div>
...
 
@@ -39,2 +39,2 @@
 
    </form>
 
{% endblock %}
...
 
\ No newline at end of file
 
{% endblock %}
symposion/templates/sponsorship/list.html
Show inline comments
...
 
@@ -14,3 +14,3 @@
 
            <h1>{% trans "About Our Sponsors" %}</h1>
 
            <a href="{% url cms_page "sponsors/prospectus/" %}" class="btn">Learn how to become a sponsor <span class="arrow"></span></a>
 
            <a href="{% url "cms_page" "sponsors/prospectus/" %}" class="btn">Learn how to become a sponsor <span class="arrow"></span></a>
 

	
symposion/templates/teams/team_detail.html
Show inline comments
...
 
@@ -11,3 +11,3 @@
 
            {% if can_join %}
 
                <form method="post" action="{% url team_join team.slug %}">
 
                <form method="post" action="{% url "team_join" team.slug %}">
 
                    {% csrf_token %}
...
 
@@ -16,5 +16,5 @@
 
            {% endif %}
 
            
 

 
            {% if can_leave %}
 
                <form method="post" action="{% url team_leave team.slug %}">
 
                <form method="post" action="{% url "team_leave" team.slug %}">
 
                    {% csrf_token %}
...
 
@@ -23,5 +23,5 @@
 
            {% endif %}
 
            
 

 
            {% if can_apply %}
 
                <form method="post" action="{% url team_apply team.slug %}"> 
 
                <form method="post" action="{% url "team_apply" team.slug %}">
 
                    {% csrf_token %}
...
 
@@ -31,9 +31,9 @@
 
            </div>
 
            
 

 
            <h1>{{ team.name }}{% if state %} <span class="label">{{ state }}</span>{% endif %}</h1>
 
            
 

 
            {% if team.description %}<p>{{ team.description }}</p>{% endif %}
 
            
 

 
            {% if state == "invited" %}<p>You have been invited to join this team. Click <b>join</b> to the right to accept.</p>{% endif %}
 
            
 

 
            {% if user.is_staff or state == "manager" %}
...
 
@@ -46,3 +46,3 @@
 
                                <td>
 
                                    <form style="margin: 0;" method="post" action="{% url team_demote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">demote</button></form>
 
                                    <form style="margin: 0;" method="post" action="{% url "team_demote" membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">demote</button></form>
 
                                </td>
...
 
@@ -59,3 +59,3 @@
 
                                <td>
 
                                    <form style="margin: 0;" method="post" action="{% url team_promote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">promote</button></form>
 
                                    <form style="margin: 0;" method="post" action="{% url "team_promote" membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">promote</button></form>
 
                                </td>
...
 
@@ -72,4 +72,4 @@
 
                                <td>
 
                                    <form style="margin: 0; float: left;" method="post" action="{% url team_accept membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">accept</button></form>
 
                                    <form style="margin: 0; float: left;" method="post" action="{% url team_reject membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">reject</button></form>
 
                                    <form style="margin: 0; float: left;" method="post" action="{% url "team_accept" membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">accept</button></form>
 
                                    <form style="margin: 0; float: left;" method="post" action="{% url "team_reject" membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">reject</button></form>
 
                                </td>
symposion/views.py
Show inline comments
...
 
@@ -25,3 +25,4 @@ class SignupView(account.views.SignupView):
 
        }
 
        return super(SignupView, self).create_user(form, commit=commit, **user_kwargs)
 
        return super(SignupView, self).create_user(form, commit=commit,
 
                                                   **user_kwargs)
 

	
...
 
@@ -53,3 +54,4 @@ def dashboard(request):
 
    if request.session.get("pending-token"):
 
        return redirect("speaker_create_token", request.session["pending-token"])
 
        return redirect("speaker_create_token",
 
                        request.session["pending-token"])
 
    return render(request, "dashboard.html")
0 comments (0 inline, 0 general)