mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Minor cleanup in sharing component
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</div>
|
||||
<div v-else>
|
||||
<b-form-checkbox switch class="make-accessible" v-model="item.importable" @change="onImportable">
|
||||
Make {{ model_class }} accessible.
|
||||
Make {{ model_class }} accessible
|
||||
</b-form-checkbox>
|
||||
<b-form-checkbox
|
||||
v-if="item.importable"
|
||||
@@ -22,38 +22,38 @@
|
||||
@change="onPublish"
|
||||
>
|
||||
Make {{ model_class }} publicly available in
|
||||
<a :href="published_url" target="_top">Published {{ plural_name }}</a> section.
|
||||
<a :href="published_url" target="_top">Published {{ plural_name }}</a>
|
||||
</b-form-checkbox>
|
||||
<br />
|
||||
<div>
|
||||
<div v-if="item.importable">
|
||||
<div>
|
||||
This {{ model_class }} is currently <strong>{{ itemStatus }}</strong
|
||||
>.
|
||||
</div>
|
||||
<p>Anyone can view and import this {{ model_class }} by visiting the following URL:</p>
|
||||
<blockquote>
|
||||
<b-button title="Edit URL" @click="onEdit" v-b-tooltip.hover variant="link" size="sm">
|
||||
<font-awesome-icon icon="edit" />
|
||||
</b-button>
|
||||
<b-button id="tooltip-clipboard" @click="onCopy" @mouseout="onCopyOut" variant="link" size="sm">
|
||||
<font-awesome-icon icon="link" />
|
||||
</b-button>
|
||||
<b-tooltip target="tooltip-clipboard" triggers="hover">
|
||||
{{ tooltipClipboard }}
|
||||
</b-tooltip>
|
||||
<a v-if="showUrl" id="item-url" :href="itemUrl" target="_top" class="ml-2">
|
||||
{{ itemUrl }}
|
||||
</a>
|
||||
<span v-else id="item-url-text">
|
||||
{{ itemUrlParts[0] }}<SlugInput class="ml-1" :slug="itemUrlParts[1]" @onChange="onChange" />
|
||||
</span>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div v-else>
|
||||
Access to this {{ model_class }} is currently restricted so that only you and the users listed below
|
||||
can access it. Note that sharing a History will also allow access to all of its datasets.
|
||||
<div v-if="item.importable">
|
||||
<div>
|
||||
This {{ model_class }} is currently <strong>{{ itemStatus }}</strong
|
||||
>.
|
||||
</div>
|
||||
<p>Anyone can view and import this {{ model_class }} by visiting the following URL:</p>
|
||||
<blockquote>
|
||||
<b-button title="Edit URL" @click="onEdit" v-b-tooltip.hover variant="link" size="sm">
|
||||
<font-awesome-icon icon="edit" />
|
||||
</b-button>
|
||||
<b-button id="tooltip-clipboard" @click="onCopy" @mouseout="onCopyOut" variant="link" size="sm">
|
||||
<font-awesome-icon icon="link" />
|
||||
</b-button>
|
||||
<b-tooltip target="tooltip-clipboard" triggers="hover">
|
||||
{{ tooltipClipboard }}
|
||||
</b-tooltip>
|
||||
<a v-if="showUrl" id="item-url" :href="itemUrl" target="_top" class="ml-2">
|
||||
url:
|
||||
{{ itemUrl }}
|
||||
</a>
|
||||
<span v-else id="item-url-text">
|
||||
slug:
|
||||
{{ itemUrlParts[0] }}<SlugInput class="ml-1" :slug="itemUrlParts[1]" @onChange="onChange" />
|
||||
</span>
|
||||
</blockquote>
|
||||
</div>
|
||||
<div v-else>
|
||||
Access to this {{ model_class }} is currently restricted so that only you and the users listed below can
|
||||
access it. Note that sharing a History will also allow access to all of its datasets.
|
||||
</div>
|
||||
<br />
|
||||
<h4>Share {{ model_class }} with Individual Users</h4>
|
||||
|
||||
Reference in New Issue
Block a user