Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-sshkey
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
eb089439
authored
Sep 15, 2014
by
Scott Duckworth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make example templates compatible with django 1.4+
parent
c2ea0e0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
django_sshkey/templates.example/sshkey/userkey_list.html
+4
-3
No files found.
django_sshkey/templates.example/sshkey/userkey_list.html
View file @
eb089439
{% load url from future %}
<h1>
My Keys
</h1>
{% if messages %}
<ul
class=
"messages"
>
...
...
@@ -6,7 +7,7 @@
{% endfor %}
</ul>
{% endif %}
<p><a
href=
"{% url
django_sshkey.views.userkey_add
%}"
>
Add Key
</a></p>
<p><a
href=
"{% url
"
django_sshkey
.
views
.
userkey_add
"
%}"
>
Add Key
</a></p>
<table>
<tr>
<th>
Key
</th>
...
...
@@ -29,9 +30,9 @@
<td>
{{ userkey.last_used|default:"never" }}
</td>
<td>
{% if allow_edit %}
<a
href=
"{% url
django_sshkey.views.userkey_edit
userkey.pk %}"
>
Edit
</a>
<a
href=
"{% url
"
django_sshkey
.
views
.
userkey_edit
"
userkey
.
pk
%}"
>
Edit
</a>
{% endif %}
<a
href=
"{% url
django_sshkey.views.userkey_delete
userkey.pk %}"
>
Delete
</a>
<a
href=
"{% url
"
django_sshkey
.
views
.
userkey_delete
"
userkey
.
pk
%}"
>
Delete
</a>
</td>
</tr>
{% endfor %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment