From ee16c771554857e1d6863def581c788aebfb1330 Mon Sep 17 00:00:00 2001 From: juliotoscano Date: Tue, 1 Nov 2016 23:48:35 -0300 Subject: [PATCH] modifying button modal links #205 --- links/static/links.js | 8 -------- links/templates/links/create_link.html | 3 +-- links/templates/links/delete_link.html | 2 +- links/templates/links/update_link.html | 2 +- links/templates/links/view_link.html | 2 +- 5 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 links/static/links.js diff --git a/links/static/links.js b/links/static/links.js deleted file mode 100644 index 11f461c..0000000 --- a/links/static/links.js +++ /dev/null @@ -1,8 +0,0 @@ -function get_modal_link(url, id,div_content){ - $.get(url, function (data) { - $(div_content).empty(); - $(div_content).append(data); - $(id).modal('show'); - }); - -} diff --git a/links/templates/links/create_link.html b/links/templates/links/create_link.html index 5ff9806..5a51e48 100644 --- a/links/templates/links/create_link.html +++ b/links/templates/links/create_link.html @@ -1,5 +1,4 @@ {% load widget_tweaks i18n %} -
- +
diff --git a/links/templates/links/update_link.html b/links/templates/links/update_link.html index eb570be..5a7fb1a 100644 --- a/links/templates/links/update_link.html +++ b/links/templates/links/update_link.html @@ -36,7 +36,7 @@ {% endif %} {% endfor %}
- +
diff --git a/links/templates/links/view_link.html b/links/templates/links/view_link.html index c9fbf6e..c8860eb 100644 --- a/links/templates/links/view_link.html +++ b/links/templates/links/view_link.html @@ -14,7 +14,7 @@
{{link.name}}

{{link.link_description}}

- {% trans 'Read more' %} + {% trans 'Read more' %}
-- libgit2 0.21.2