couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to 936ed57
Date Tue, 07 Oct 2014 08:28:54 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 92964af8e -> 936ed575a


add support for external link


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/936ed575
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/936ed575
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/936ed575

Branch: refs/heads/master
Commit: 936ed575af1b31a8cee56302cae4cbb542c203ab
Parents: 35fc152
Author: Garren Smith <garren.smith@gmail.com>
Authored: Tue Oct 7 10:26:23 2014 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Tue Oct 7 10:27:36 2014 +0200

----------------------------------------------------------------------
 app/addons/fauxton/templates/menu_dropdown.html | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/936ed575/app/addons/fauxton/templates/menu_dropdown.html
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/templates/menu_dropdown.html b/app/addons/fauxton/templates/menu_dropdown.html
index fed06e4..6a197b7 100644
--- a/app/addons/fauxton/templates/menu_dropdown.html
+++ b/app/addons/fauxton/templates/menu_dropdown.html
@@ -25,7 +25,8 @@ the License.
           <% if (link.icon) { %>
           class="icon <%- link.icon %>"
           <% } %>
-          href="<%- link.url %>">
+          href="<%- link.url %>"
+          <% if (link.external) { %> target="_blank" <% } %> >
           <%- link.title %>
         </a>
       </li>


Mime
View raw message