Skip to content

Commit

Permalink
Fix link to published list
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed May 1, 2018
1 parent 4020ecd commit a591738
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/galaxy/scripts/components/Sharing.vue
Expand Up @@ -51,14 +51,15 @@
<div class="toolParamHelp">Generates a web link that you can share with other people so that they can view and import the {{item_model_class_lc}}.</div>
<br/>
<button @click="enableLinkPublish">Make {{item.model_class}} Accessible and Publish</button>
<div class="toolParamHelp">Makes the {{item_model_class_lc}} accessible via link (see above) and publishes the {{item_model_class_lc}} to Galaxy's <a href='published_url' target='_top'>Published {{plural_name}}</a> section, where it is publicly listed and searchable.</div>
<div class="toolParamHelp">Makes the {{item_model_class_lc}} accessible via link (see above) and publishes the {{item_model_class_lc}} to Galaxy's <a :href="published_url" target="_top">Published {{plural_name}}</a> section, where it is publicly listed and searchable.</div>
</div>
<br/><br/>
<h3>Share {{item.model_class}} with Individual Users</h3>
<div>
<div v-if="item.users_shared_with && item.users_shared_with.length > 0">
<p>
The following users will see this {{item_model_class_lc}} in their {{item_model_class_lc}} list and will be able to view, import and run it.
<br/>
<table class="colored" border="0" cellspacing="0" cellpadding="0" width="100%">
<tr class="header">
<th>Email</th>
Expand Down Expand Up @@ -114,7 +115,7 @@ export default {
return `${Galaxy.root}${this.item_controller}/display_by_username_and_slug/?username=${this.username}&slug=${this.item.slug}&qualified=true`;
},
published_url() {
return `${Galaxy.root}${this.item_controller}/list_published`;
return `${Galaxy.root}${this.list_controller}/list_published`;
},
share_url() {
return `${Galaxy.root}${this.item_controller}/share/?id=${this.id}`;
Expand Down

0 comments on commit a591738

Please sign in to comment.