diff --git a/js/apps/system/aardvark/frontend/js/templates/applicationDetailView.ejs b/js/apps/system/aardvark/frontend/js/templates/applicationDetailView.ejs index e39f1361cb..6a4f833d5b 100644 --- a/js/apps/system/aardvark/frontend/js/templates/applicationDetailView.ejs +++ b/js/apps/system/aardvark/frontend/js/templates/applicationDetailView.ejs @@ -20,7 +20,11 @@

<%= attributes.name %> <%= attributes.license %> - <%= attributes.app.split(':').pop() %> + <% if (attributes.development) { %> + devel + <% } else { %> + <%= attributes.app.split(':').pop() %> + <% } %>

<%= attributes.description %>

diff --git a/js/apps/system/aardvark/frontend/js/templates/modalApplicationMount.ejs b/js/apps/system/aardvark/frontend/js/templates/modalApplicationMount.ejs index 375c6403c8..a468a0e554 100644 --- a/js/apps/system/aardvark/frontend/js/templates/modalApplicationMount.ejs +++ b/js/apps/system/aardvark/frontend/js/templates/modalApplicationMount.ejs @@ -87,7 +87,6 @@ - @@ -104,7 +103,6 @@ - diff --git a/js/apps/system/aardvark/frontend/js/views/applicationDetailView.js b/js/apps/system/aardvark/frontend/js/views/applicationDetailView.js index 45fcc9859d..db87001098 100644 --- a/js/apps/system/aardvark/frontend/js/views/applicationDetailView.js +++ b/js/apps/system/aardvark/frontend/js/views/applicationDetailView.js @@ -1,6 +1,6 @@ /*jshint browser: true */ /*jshint strict: false, unused: false */ -/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _*/ +/*global Backbone, $, window, arangoHelper, templateEngine, Joi, _, modalDialogHelper*/ window.ApplicationDetailView = Backbone.View.extend({ el: '#content', diff --git a/js/apps/system/aardvark/frontend/js/views/applicationsView.js b/js/apps/system/aardvark/frontend/js/views/applicationsView.js index 1bbba51201..009ce549c4 100644 --- a/js/apps/system/aardvark/frontend/js/views/applicationsView.js +++ b/js/apps/system/aardvark/frontend/js/views/applicationsView.js @@ -636,7 +636,7 @@ description: $("#new-app-description").val() }; console.log(info); - $.post("templates/generate", info, function(a) { + $.post("templates/generate", JSON.stringify(info), function(a) { alert("GENERATOOOO!", a); }); },