Implemented purchase
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
<a href="{{ url_for('ContentView:caff', id_=item.id) }}" class="btn btn-lg btn-success"
|
||||
target="_self">Download</a>
|
||||
{% else %}
|
||||
<a href="#" class="btn btn-lg btn-primary" target="_blank">Purchase</a>
|
||||
<a href="{{ url_for("PurchaseView:get", id_=item.id) }}" class="btn btn-lg btn-primary"
|
||||
target="_self">Purchase</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,6 +22,10 @@
|
||||
<th scope="row">Upload date</th>
|
||||
<td>{{ item.upload_date }}</td>
|
||||
</tr>
|
||||
<tr class="table-active">
|
||||
<th scope="row">Price</th>
|
||||
<td>1 currency</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user