You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ga...@apache.org on 2014/10/07 10:28:54 UTC
[1/2] fauxton commit: updated refs/heads/master to 936ed57
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 <ga...@gmail.com>
Authored: Tue Oct 7 10:26:23 2014 +0200
Committer: Garren Smith <ga...@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>
[2/2] fauxton commit: updated refs/heads/master to 936ed57
Posted by ga...@apache.org.
Only show sidebar options that exist
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/35fc1523
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/35fc1523
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/35fc1523
Branch: refs/heads/master
Commit: 35fc1523a085625f408cd3ac1d44b7d4ca51a0f5
Parents: 92964af
Author: Garren Smith <ga...@gmail.com>
Authored: Mon Oct 6 14:30:56 2014 +0200
Committer: Garren Smith <ga...@gmail.com>
Committed: Tue Oct 7 10:27:36 2014 +0200
----------------------------------------------------------------------
app/addons/documents/views-sidebar.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/35fc1523/app/addons/documents/views-sidebar.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/views-sidebar.js b/app/addons/documents/views-sidebar.js
index 9ce2ca6..9fa6b58 100644
--- a/app/addons/documents/views-sidebar.js
+++ b/app/addons/documents/views-sidebar.js
@@ -157,6 +157,8 @@ function(app, FauxtonAPI, Components, Documents, Databases) {
var design = this.model.id.replace(/^_design\//,"");
var databaseId = this.model.database.id;
+ if (_.isUndefined(designDocs[info.selector])) { return; }
+
this.insertView(".accordion-body", new Views.IndexItem({
selector: info.selector,
ddoc: design,