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
54cbad05
authored
Jul 07, 2014
by
Scott Duckworth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not show last modified field if allow_edit=False
parent
63296701
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
django_sshkey/templates.example/sshkey/userkey_list.html
+8
-2
No files found.
django_sshkey/templates.example/sshkey/userkey_list.html
View file @
54cbad05
...
...
@@ -12,7 +12,9 @@
<th>
Key
</th>
<th>
Fingerprint
</th>
<th>
Created
</th>
{% if allow_edit %}
<th>
Last Modified
</th>
{% endif %}
<th>
Last Used
</th>
<th></th>
</tr>
...
...
@@ -21,12 +23,16 @@
<td>
{{ userkey.name }}
</td>
<td>
{{ userkey.fingerprint }}
</td>
<td>
{{ userkey.created|default:"unknown" }}
</td>
{% if allow_edit %}
<td>
{{ userkey.last_modified|default:"unknown" }}
</td>
{% endif %}
<td>
{{ userkey.last_used|default:"never" }}
</td>
<td>
{% if allow_edit %}
<
td><a
href=
"{% url django_sshkey.views.userkey_edit userkey.pk %}"
>
Edit
</a></td
>
<
a
href=
"{% url django_sshkey.views.userkey_edit userkey.pk %}"
>
Edit
</a
>
{% endif %}
<td><a
href=
"{% url django_sshkey.views.userkey_delete userkey.pk %}"
>
Delete
</a></td>
<a
href=
"{% url django_sshkey.views.userkey_delete userkey.pk %}"
>
Delete
</a>
</td>
</tr>
{% endfor %}
</table>
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