You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2015/02/24 12:48:14 UTC

[20/50] [abbrv] allura git commit: [#4542] ticket:726 Add edit link and truncate long urls

[#4542] ticket:726 Add edit link and truncate long urls


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/10cbeeac
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/10cbeeac
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/10cbeeac

Branch: refs/heads/ib/7827
Commit: 10cbeeacb88eb8501f9dbcf1a4cb6771a8ab731b
Parents: 8cbd330
Author: Igor Bondarenko <je...@gmail.com>
Authored: Wed Feb 11 15:54:33 2015 +0000
Committer: Igor Bondarenko <je...@gmail.com>
Committed: Mon Feb 16 10:17:40 2015 +0000

----------------------------------------------------------------------
 Allura/allura/templates/app_admin_webhooks_list.html | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/10cbeeac/Allura/allura/templates/app_admin_webhooks_list.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/app_admin_webhooks_list.html b/Allura/allura/templates/app_admin_webhooks_list.html
index 0fe02e9..a4efb97 100644
--- a/Allura/allura/templates/app_admin_webhooks_list.html
+++ b/Allura/allura/templates/app_admin_webhooks_list.html
@@ -29,10 +29,9 @@
       <table>
         {% for wh in configured_hooks[hook.type] %}
         <tr>
-          <td>
-            <a href="{{ wh.url() }}">{{ wh.hook_url }}</a>
-          </td>
+          <td title="{{wh.hook_url}}">{{ wh.hook_url|truncate(40, True) }}</td>
           <td>{{ wh.secret or '' }}</td>
+          <td><a href="{{wh.url()}}">Edit</a></td>
           <td>
             <a href="{{admin_url}}/{{hook.type}}/delete"
                class="delete-link"