Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
fe344780
Commit
fe344780
authored
Nov 09, 2013
by
Jean Michel Rouly
Browse files
Updated delete links to correct location.
parent
2e2b9af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
wsgi/mylinks.py
View file @
fe344780
...
...
@@ -30,7 +30,8 @@ def application(environ, start_response):
link_text
=
'<a href="%s">%s</a>'
short_url_link
=
link_text
%
(
short_url
,
short_url
)
long_url_link
=
link_text
%
(
long_url
,
long_url
)
delete_link
=
link_text
%
(
"#"
,
"<strong>Delete</strong>"
)
delete_link
=
"/delete?u=%s"
%
short_url
delete_link
=
link_text
%
(
delete_link
,
"<strong>Delete</strong>"
)
if
expiration
<=
0
:
expiration
=
"never"
...
...
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