Commit 933b26ef authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Added initial my_links page.

parent 0f9bd496
{% extends 'base.html' %}
{% block title %}
Go - A URL Shortener
{% endblock %}
{% block content %}
<div id="mylinks">
{% for link in links %}
<p>
<strong>Long:</strong> <a href="{{link.target}}">{{link.target}}</a>
<br />
<strong>Short:</strong> <a href="/{{link.short}}">{{link.short}}</a>
<br />
<strong>Clicks:</strong> {{link.clicks}}
<br />
<strong>Expires:</strong> {{link.expires}}
<br />
<strong><a href="{%url 'delete' link.short%}">Delete</a></strong>
</p>
{% endfor %}
</div>
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment