Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missing syndicate templates from last commit

  • Loading branch information...
commit 64e3ff05a49e977ae47dd973be3acfae8ea8d613 1 parent 89c4e59
@meurig authored
View
6 wggateway/templates/syndicate.html
@@ -0,0 +1,6 @@
+{% extends "base.html" %}
+{% block subsidenav %}
+<ul id="subnavlist">
+ <li><a href="{% url syndicates page=1 %}">All Syndicates</a></li>
+</ul>
+{% endblock %}
View
32 wggateway/templates/syndicate_detail.html
@@ -0,0 +1,32 @@
+{% extends "syndicate.html" %}
+{% load humanize %}
+{% block title %}Syndicate Detail{% endblock %}
+{% block content %}
+<h1>Syndicate Detail</h1>
+<div class="formrow"><div class="formlabel2">Name</div> <div class="formfield">{{ syndicate.name }}</div>
+ <div class="formlabel2"><a href="{% url admin:wggateway_syndicate_change syndicate.id %}">Edit</a></div>
+</div>
+<div class="formrow">
+ <div class="formlabel2">Purchases</div>
+ <div class="formfieldwide">
+ <table class="ps_table">
+ <tr class="ps_row">
+ <td class="ps_col">Code</td>
+ <td class="ps_col">Currency</td>
+ <td class="ps_col">Notional</td>
+ <td class="ps_col">Product</td>
+ <td class="ps_col">Provider</td>
+ </tr>
+ {% for purchase in syndicate.purchase_set.all %}
+ <tr class="ps_row">
+ <td class="ps_col">{{ purchase.code }}</td>
+ <td class="ps_col">{{ purchase.notional_currency }}</td>
+ <td class="ps_col">{{ purchase.notional_amount|intcomma }}</td>
+ <td class="ps_col">{{ purchase.product }}</td>
+ <td class="ps_col">{{ purchase.product.provider }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+</div>
+{% endblock %}
View
18 wggateway/templates/syndicate_list.html
@@ -0,0 +1,18 @@
+{% extends "syndicate.html" %}
+
+{% block title %}Syndicate List{% endblock %}
+
+{% block content %}
+<h1>Syndicate List</h1>
+{% for syndicate in syndicate_list %}
+<div class="formrow">
+ <div class="formfield">
+ <a href="{{ syndicate.get_absolute_url }}">{{ syndicate.name }}</a>
+ </div>
+</div>
+{% endfor %}
+{% endblock %}
+
+{% block pagination %}
+{% include "pagination.html" %}
+{% endblock %}
Please sign in to comment.
Something went wrong with that request. Please try again.