Changeset - bcdc6a864a4b
[Not reviewed]
0 5 0
Tobias - 6 years ago 2018-09-29 19:56:30
tobias@localhost.localdomain
Minor tweaks before testing
5 files changed with 18 insertions and 11 deletions:
0 comments (0 inline, 0 general)
docker/deploy_with_sqlite.sh
Show inline comments
 
#!/bin/bash
 

	
 
/usr/local/bin/python /app/symposion_app/manage.py migrate
 
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,sitetree,flatpages}.json
 
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{conference,proposal_base,sites,flatpages}.json
 
/usr/local/bin/python /app/symposion_app/manage.py loaddata /app/symposion_app/fixtures/{2019_groups,2019_registrasion,2019_schedule,2019_sitetree,2019_flatpages}.json
 

	
 
/usr/local/bin/python /app/symposion_app/manage.py create_review_permissions
pinaxcon/templates/registrasion/guided_registration.html
Show inline comments
...
 
@@ -48,12 +48,10 @@
 
      </fieldset>
 
        {% endfor %}
 

	
 
        <div class="btn-group">
 
          {% if current_step > 1 %}
 
          <a class="btn btn-primary" role="button" href="{{ previous_step }}">Back</a>
 
          {% endif %}
 
          <input class="btn btn-primary" type="submit" value="Next Step" />
 
        </div>
 
      {% if current_step > 1 %}
 
      <a class="btn btn-primary" role="button" href="{{ previous_step }}">Back</a>
 
      {% endif %}
 
      <input class="btn btn-primary" type="submit" value="Next Step" />
 
  </form>
 

	
 

	
pinaxcon/templates/registrasion/stripe/credit_card_payment.html
Show inline comments
...
 
@@ -91,9 +91,7 @@
 
      {% csrf_token %}
 
      {% include "_form_snippet.html" with form=form %}
 
      <br />
 
      <div class="btn-group">
 
        <input id="pay" class="btn btn-primary" type="submit" value="Pay ${{ invoice.balance_due }}" />
 
      </div>
 
      <input id="pay" class="btn btn-primary" type="submit" value="Pay ${{ invoice.balance_due }}" />
 
    </fieldset>
 
  </form>
 
{% endblock %}
pinaxcon/templates/symposion/dashboard/_categories.html
Show inline comments
...
 
@@ -4,6 +4,7 @@
 
{% load teams_tags %}
 
{% load registrasion_tags %}
 
{% load lca2018_tags %}
 
{% load lca2019_tags %}
 
{% load staticfiles %}
 

	
 
{% if user.is_staff %}
...
 
@@ -78,7 +79,7 @@
 
    <div class="col-6 my-3 d-flex flex-column">
 
      <h4>Items pending payment</h4>
 
      {% include "registrasion/_items_list.html" with items=pending %}
 
      <a class="btn btn-lg btn-success" role="button" href="{% url "checkout" %}">Check out and pay</a>
 
      <a class="btn btn-lg btn-primary" role="button" href="{% url "checkout" %}">Check out and pay</a>
 
    </div>
 
    {% endif %}
 

	
...
 
@@ -107,9 +108,11 @@
 
        </li>
 
        {% endfor %}
 
      </ul>
 
      {% if invoices|any_is_void %}
 
      <div class="mt-auto">
 
        <button id="toggle-void-invoices" onclick="toggleVoidInvoices();" class="btn btn-lg btn-default">Show void invoices</button>
 
      </div>
 
      {% endif %}
 
    </div>
 
    {% endif %}
 

	
pinaxcon/templatetags/lca2019_tags.py
Show inline comments
...
 
@@ -14,3 +14,11 @@ def has_required_fields(form):
 
        if field.field.required:
 
            return True
 
    return False
 

	
 

	
 
@register.filter
 
def any_is_void(invoices):
 
    for invoice in invoices:
 
        if invoice.is_void:
 
            return True
 
    return False
...
 
\ No newline at end of file
0 comments (0 inline, 0 general)