Skip to content

Commit

Permalink
Backing out Save As label and icon for now since that functionality i…
Browse files Browse the repository at this point in the history
…s not ready yet but I want to merge the editing of bookmarks into master. Addresses #645
  • Loading branch information
alexsielicki committed Aug 25, 2016
1 parent 68957d9 commit 6715f94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ def register_slycat_plugin(context):
context.register_wizard_resource("slycat-create-template", "ui.js", os.path.join(os.path.dirname(__file__), "create-template-ui.js"))
context.register_wizard_resource("slycat-create-template", "ui.html", os.path.join(os.path.dirname(__file__), "create-template-ui.html"))

context.register_wizard("slycat-create-saved-bookmark", "Save As", require={"action":"create", "context":"model"})
# Alex commenting this out and instead using the line below because the Save As functionality is not ready yet.
# context.register_wizard("slycat-create-saved-bookmark", "Save As", require={"action":"create", "context":"model"})
context.register_wizard("slycat-create-saved-bookmark", "Create New", require={"action":"create", "context":"model"})
context.register_wizard_resource("slycat-create-saved-bookmark", "ui.js", os.path.join(os.path.dirname(__file__), "create-saved-bookmark-ui.js"))
context.register_wizard_resource("slycat-create-saved-bookmark", "ui.html", os.path.join(os.path.dirname(__file__), "create-saved-bookmark-ui.html"))

Expand Down
4 changes: 3 additions & 1 deletion web-server/templates/slycat-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@
<!-- ko foreach: model_bookmark_wizards -->
<li class="slycat-clickable">
<a class="bookmark-new" data-bind="click: $parent.run_wizard">
<span class="fa fa-floppy-o"></span>
<!-- Alex commenting this out and instead using the line below because the Save As functionality is not ready yet. -->
<!-- <span class="fa fa-floppy-o"></span> -->
<span class="fa fa-plus"></span>
<span data-bind="text: label"></span></a>
</li>
<!-- /ko -->
Expand Down

0 comments on commit 6715f94

Please sign in to comment.