Skip to content

Commit

Permalink
Changing name of model from Parameter Image Plus to Parameter Image i…
Browse files Browse the repository at this point in the history
…n Create drop down list and wizard. Closes #506
  • Loading branch information
alexsielicki committed Oct 1, 2015
1 parent f8382df commit 1dc2653
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(["slycat-server-root", "slycat-web-client", "slycat-dialog", "knockout",
component.ps_type = ko.observable("remote"); // local is selected by default...
component.is_compute = ko.observable("no_compute");
component.matrix_type = ko.observable("remote"); // local is selected by default...
component.model = mapping.fromJS({_id: null, name: "New Parameter Image Plus Model", description: "", marking: null});
component.model = mapping.fromJS({_id: null, name: "New Parameter Image Model", description: "", marking: null});
component.remote = mapping.fromJS({hostname: null, username: null, password: null, status: null, status_type: null, enable: ko.computed(function(){return component.ps_type() == 'remote' ? true : false;}), focus: false, sid: null});
component.remote.focus.extend({notify: "always"});
component.remote_matrix = mapping.fromJS({hostname: null, username: null, password: null, status: null, status_type: null, enable: ko.computed(function(){return component.matrix_type() == 'remote' ? true : false;}), focus: false, sid: null});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,6 @@ def page_html(database, model):
context.register_model_command("GET", "parameter-image-plus", "media-columns", media_columns)

# Register custom wizards for creating PI models.
context.register_wizard("parameter-image-plus", "New Parameter Image Plus Model", require={"action":"create", "context":"project"})
context.register_wizard("parameter-image-plus", "New Parameter Image Model", require={"action":"create", "context":"project"})
context.register_wizard_resource("parameter-image-plus", "ui.js", os.path.join(os.path.dirname(__file__), "js/wizard-ui.js"))
context.register_wizard_resource("parameter-image-plus", "ui.html", os.path.join(os.path.dirname(__file__), "wizard-ui.html"))
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="parameter-image-plus-model-wizard">
<div class="modal-header">
<h3 class="modal-title">New Parameter Image Plus Model</h3>
<h3 class="modal-title">New Parameter Image Model</h3>
</div>
<div class="modal-body">
<ul class="nav nav-pills">
Expand Down

0 comments on commit 1dc2653

Please sign in to comment.