manage campaign links replaced with big green buttons
parent
24674d8a2d
commit
49677c3a45
|
@ -21,9 +21,16 @@ Any questions not covered here? Please email us at <a href="mailto:rights@gluej
|
||||||
<dl>
|
<dl>
|
||||||
{% for campaign in request.user.campaigns.all %}
|
{% for campaign in request.user.campaigns.all %}
|
||||||
<dt>Work: <a href="{% url work work_id=campaign.work.id %}">{{campaign.work.title }}</a></dt>
|
<dt>Work: <a href="{% url work work_id=campaign.work.id %}">{{campaign.work.title }}</a></dt>
|
||||||
<dd>Campaign: <a href="{% url manage_campaign campaign.id %}">{{ campaign.name }}</a><br />
|
<div class="work_campaigns clearfix">
|
||||||
Status: {{ campaign.status }} <br />
|
<div class="campaign_info">
|
||||||
Created: {{ campaign.created }}</dd>
|
<dd>Campaign: {{ campaign.name }}<br />
|
||||||
|
Campaign status: {{ campaign.status }} <br />
|
||||||
|
Created: {{ campaign.created }}</dd>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="{% url manage_campaign campaign.id %}" class="manage">Manage This Campaign</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</dl>
|
</dl>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -36,7 +43,7 @@ Any questions not covered here? Please email us at <a href="mailto:rights@gluej
|
||||||
<br />On Behalf of: {{ claim.rights_holder.rights_holder_name }}
|
<br />On Behalf of: {{ claim.rights_holder.rights_holder_name }}
|
||||||
<br />PSA #: {{ claim.rights_holder.id }}
|
<br />PSA #: {{ claim.rights_holder.id }}
|
||||||
<br />Date of Claim : {{ claim.created }}
|
<br />Date of Claim : {{ claim.created }}
|
||||||
<br />Status: {{ claim.status }}
|
<br />Status of Claim: {{ claim.status }}
|
||||||
{% if claim.can_open_new %}
|
{% if claim.can_open_new %}
|
||||||
<h3>Open a campaign for this work</h3>
|
<h3>Open a campaign for this work</h3>
|
||||||
<form method="POST" action="#">
|
<form method="POST" action="#">
|
||||||
|
@ -53,9 +60,16 @@ Any questions not covered here? Please email us at <a href="mailto:rights@gluej
|
||||||
{% else %}{%if claim.campaigns %}
|
{% else %}{%if claim.campaigns %}
|
||||||
<h3>Campaigns for this work</h3>
|
<h3>Campaigns for this work</h3>
|
||||||
{% for campaign in claim.campaigns %}
|
{% for campaign in claim.campaigns %}
|
||||||
<p>Name: {{ campaign.name }} {{ campaign.status }} (<a href="{% url manage_campaign campaign.id %}">manage campaign</a>)<br />
|
<div class="work_campaigns clearfix">
|
||||||
Created: {{ campaign.created }}<br />
|
<div class="campaign_info">
|
||||||
Manager(s): {% for user in campaign.managers.all %} <a href="{% url supporter user.username %}">{{ user.username }} </a> {% endfor %}</p>
|
Name: Your campaign, "{{ campaign.name }}", is {{ campaign.status }}<br />
|
||||||
|
Created: {{ campaign.created }}<br />
|
||||||
|
Manager(s): {% for user in campaign.managers.all %} <a href="{% url supporter user.username %}">{{ user.username }} </a> {% endfor %}
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<a href="{% url manage_campaign campaign.id %}" class="manage">Manage This Campaign</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -520,6 +520,35 @@ dd {
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
border: solid 5px #EDF3F4;
|
border: solid 5px #EDF3F4;
|
||||||
}
|
}
|
||||||
|
/* Miscellaneous */
|
||||||
p.pledge_complete {
|
p.pledge_complete {
|
||||||
margin: 7px auto;
|
margin: 7px auto;
|
||||||
}
|
}
|
||||||
|
a.manage {
|
||||||
|
background: #8dc63f;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
cursor: pointer;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
border-radius: 5px;
|
||||||
|
border: 1px solid #d6dde0;
|
||||||
|
}
|
||||||
|
a.manage:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.work_campaigns {
|
||||||
|
border: 1px solid #d6dde0;
|
||||||
|
margin: 10px auto;
|
||||||
|
}
|
||||||
|
.work_campaigns div {
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.work_campaigns div.campaign_info {
|
||||||
|
width: 60%;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
|
|
@ -241,6 +241,35 @@ dd {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Miscellaneous */
|
||||||
p.pledge_complete {
|
p.pledge_complete {
|
||||||
margin: 7px auto;
|
margin: 7px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.manage {
|
||||||
|
background: @call-to-action;
|
||||||
|
color: white;
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0.5em 1em;
|
||||||
|
cursor: pointer;
|
||||||
|
.one-border-radius(5px);
|
||||||
|
border: 1px solid @blue-grey;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.work_campaigns {
|
||||||
|
border: 1px solid @blue-grey;
|
||||||
|
margin: 10px auto;
|
||||||
|
|
||||||
|
div {
|
||||||
|
float: left;
|
||||||
|
|
||||||
|
&.campaign_info {
|
||||||
|
width: 60%;
|
||||||
|
margin: 5px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue