Uses eslint autofix to support `vue/html-closing-bracket-spacing` rule.
This commit is contained in:
parent
fb7670f86f
commit
f40979288d
|
@ -15,7 +15,6 @@ module.exports = {
|
|||
'no-undef': 'warn',
|
||||
'vue/no-v-html': 'off',
|
||||
'vue/html-indent': 'off',
|
||||
'vue/html-closing-bracket-spacing': 'off',
|
||||
'vue/html-closing-bracket-newline': 'off',
|
||||
'vue/require-prop-type-constructor': 'off',
|
||||
'vue/singleline-html-element-content-newline': 'off',
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<primary-menu
|
||||
v-if="!$adminOptions.hidePrimaryMenu"
|
||||
:active-route="activeRoute"
|
||||
:is-menu-compressed="isMenuCompressed"/>
|
||||
:is-menu-compressed="isMenuCompressed" />
|
||||
<button
|
||||
v-if="!$adminOptions.hidePrimaryMenu && !$adminOptions.hidePrimaryMenuCompressButton"
|
||||
id="menu-compress-button"
|
||||
|
@ -31,14 +31,14 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowleft' : !isMenuCompressed, 'tainacan-icon-arrowright' : isMenuCompressed }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</button>
|
||||
<tainacan-header v-if="!$adminOptions.hideTainacanHeader" />
|
||||
<tainacan-repository-subheader
|
||||
v-if="!$adminOptions.hideRepositorySubheader"
|
||||
:is-repository-level="isRepositoryLevel"
|
||||
:is-menu-compressed="isMenuCompressed"/>
|
||||
:is-menu-compressed="isMenuCompressed" />
|
||||
<div
|
||||
id="repository-container"
|
||||
class="column is-main-content"
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
class="page-container"
|
||||
:class="{'repository-level-page' : isNewCollection }">
|
||||
<tainacan-title
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('collection') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('collection') }]" />
|
||||
|
||||
<form
|
||||
v-if="collection != null && collection != undefined && ((isNewCollection && $userCaps.hasCapability('tnc_rep_edit_collections')) || (!isNewCollection && collection.current_user_can_edit))"
|
||||
|
@ -22,13 +22,13 @@
|
|||
<span class="required-metadatum-asterisk">*</span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'name')"
|
||||
:message="$i18n.getHelperMessage('collections', 'name')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'name')" />
|
||||
<b-input
|
||||
id="tainacan-text-name"
|
||||
v-model="form.name"
|
||||
:placeholder="$i18n.get('instruction_collection_name')"
|
||||
@blur="updateSlug"
|
||||
@focus="clearErrors('name')"/>
|
||||
@focus="clearErrors('name')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -36,7 +36,7 @@
|
|||
<form
|
||||
id="form-collection-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<!-- Description -------------------------------- -->
|
||||
|
@ -47,14 +47,14 @@
|
|||
:message="editFormErrors['description'] != undefined ? editFormErrors['description'] : ''">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'description')"
|
||||
:message="$i18n.getHelperMessage('collections', 'description')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'description')" />
|
||||
<b-input
|
||||
id="tainacan-text-description"
|
||||
v-model="form.description"
|
||||
type="textarea"
|
||||
rows="4"
|
||||
:placeholder="$i18n.get('instruction_collection_description')"
|
||||
@focus="clearErrors('description')"/>
|
||||
@focus="clearErrors('description')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Slug -------------------------------- -->
|
||||
|
@ -65,14 +65,14 @@
|
|||
:message="isUpdatingSlug ? $i18n.get('info_validating_slug') : (editFormErrors['slug'] != undefined ? editFormErrors['slug'] : '')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'slug')"
|
||||
:message="$i18n.getHelperMessage('collections', 'slug')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'slug')" />
|
||||
<b-input
|
||||
id="tainacan-text-slug"
|
||||
v-model="form.slug"
|
||||
:disabled="isUpdatingSlug"
|
||||
:loading="isUpdatingSlug"
|
||||
@update:model-value="updateSlug"
|
||||
@focus="clearErrors('slug')"/>
|
||||
@focus="clearErrors('slug')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Items list options ------------------------ -->
|
||||
|
@ -101,7 +101,7 @@
|
|||
:message="editFormErrors['default_orderby'] != undefined ? editFormErrors['default_orderby'] : $i18n.get('info_default_orderby')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'default_orderby')"
|
||||
:message="$i18n.getHelperMessage('collections', 'default_orderby')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'default_orderby')" />
|
||||
<div class="control sorting-options">
|
||||
<label class="label">{{ $i18n.get('label_sort') }} </label>
|
||||
<b-select
|
||||
|
@ -149,7 +149,7 @@
|
|||
<label class="label">{{ $i18n.get('label_view_modes_available') }}</label>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'enabled_view_modes')"
|
||||
:message="$i18n.getHelperMessage('collections', 'enabled_view_modes')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'enabled_view_modes')" />
|
||||
<div class="control">
|
||||
<b-dropdown
|
||||
ref="enabledViewModesDropdown"
|
||||
|
@ -166,7 +166,7 @@
|
|||
type="button">
|
||||
<span>{{ $i18n.get('label_enabled_view_modes') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -188,7 +188,7 @@
|
|||
'has-text-secondary' : checkIfViewModeEnabled(viewMode),
|
||||
'has-text-gray4' : !checkIfViewModeEnabled(viewMode)
|
||||
}"
|
||||
v-html="registeredViewModes[viewMode].icon"/>
|
||||
v-html="registeredViewModes[viewMode].icon" />
|
||||
{{ registeredViewModes[viewMode].label }}
|
||||
</strong>
|
||||
</p>
|
||||
|
@ -208,7 +208,7 @@
|
|||
:message="editFormErrors['default_view_mode'] != undefined ? editFormErrors['default_view_mode'] : ''">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'default_view_mode')"
|
||||
:message="$i18n.getHelperMessage('collections', 'default_view_mode')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'default_view_mode')" />
|
||||
<b-select
|
||||
id="tainacan-select-default_view_mode"
|
||||
v-model="form.default_view_mode"
|
||||
|
@ -237,7 +237,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'hide_items_thumbnail_on_lists')"
|
||||
:message="$i18n.getHelperMessage('collections', 'hide_items_thumbnail_on_lists')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'hide_items_thumbnail_on_lists')" />
|
||||
</b-field>
|
||||
|
||||
</div>
|
||||
|
@ -268,7 +268,7 @@
|
|||
:label="$i18n.getHelperTitle('collections', 'item_enabled_document_types')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_enabled_document_types')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enabled_document_types')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enabled_document_types')" />
|
||||
<div class="status-radios">
|
||||
<b-checkbox
|
||||
v-for="(documentType, slug) in form.item_enabled_document_types"
|
||||
|
@ -289,7 +289,7 @@
|
|||
:label="$i18n.getHelperTitle('collections', 'item_document_label')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_document_label')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_document_label')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_document_label')" />
|
||||
<b-input
|
||||
id="tainacan-text-item-document-label"
|
||||
v-model="form.item_document_label" />
|
||||
|
@ -311,7 +311,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_enable_thumbnail')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enable_thumbnail')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enable_thumbnail')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -320,7 +320,7 @@
|
|||
:label="$i18n.getHelperTitle('collections', 'item_thumbnail_label')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_thumbnail_label')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_thumbnail_label')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_thumbnail_label')" />
|
||||
<b-input
|
||||
id="tainacan-text-item-thumbnail-label"
|
||||
v-model="form.item_thumbnail_label" />
|
||||
|
@ -342,7 +342,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_enable_attachments')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enable_attachments')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_enable_attachments')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Attachments Label -------------------------------- -->
|
||||
|
@ -352,7 +352,7 @@
|
|||
:label="$i18n.getHelperTitle('collections', 'item_attachment_label')">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'item_attachment_label')"
|
||||
:message="$i18n.getHelperMessage('collections', 'item_attachment_label')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'item_attachment_label')" />
|
||||
<b-input
|
||||
id="tainacan-text-item-attachment-label-singular"
|
||||
v-model="form.item_attachment_label" />
|
||||
|
@ -410,7 +410,7 @@
|
|||
false-value="closed" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'allow_comments')"
|
||||
:message="$i18n.getHelperMessage('collections', 'allow_comments')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'allow_comments')" />
|
||||
</b-field>
|
||||
|
||||
</div>
|
||||
|
@ -449,7 +449,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'allows_submission')"
|
||||
:message="$i18n.getHelperMessage('collections', 'allows_submission')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'allows_submission')" />
|
||||
</b-field>
|
||||
|
||||
<transition name="filter-item">
|
||||
|
@ -472,7 +472,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'submission_anonymous_user')"
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_anonymous_user')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_anonymous_user')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Item submission default Status -------------------------------- -->
|
||||
|
@ -483,7 +483,7 @@
|
|||
:message="editFormErrors['submission_default_status'] != undefined ? editFormErrors['submission_default_status'] : ''">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'submission_default_status')"
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_default_status')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_default_status')" />
|
||||
<div class="options-checkboxes">
|
||||
<b-radio
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses().filter((status) => status.slug != 'trash')"
|
||||
|
@ -493,7 +493,7 @@
|
|||
<span class="icon has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-18px"
|
||||
:class="$statusHelper.getIcon(statusOption.slug)"/>
|
||||
:class="$statusHelper.getIcon(statusOption.slug)" />
|
||||
</span>
|
||||
{{ statusOption.name }}
|
||||
</b-radio>
|
||||
|
@ -522,7 +522,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'submission_use_recaptcha')"
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_use_recaptcha')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'submission_use_recaptcha')" />
|
||||
<p
|
||||
v-if="form.submission_use_recaptcha == 'yes'"
|
||||
v-html="$i18n.getWithVariables('info_recaptcha_link_%s', [ reCAPTCHASettingsPagePath ])" />
|
||||
|
@ -541,7 +541,7 @@
|
|||
id="form-collection-end-left"
|
||||
ref="form-collection-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
|
||||
</div>
|
||||
|
@ -555,7 +555,7 @@
|
|||
:message="editFormErrors['status'] != undefined ? editFormErrors['status'] : ''">
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'status')"
|
||||
:message="$i18n.getHelperMessage('collections', 'status')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'status')" />
|
||||
<div class="status-radios">
|
||||
<b-radio
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses().filter((status) => status.slug != 'draft')"
|
||||
|
@ -565,7 +565,7 @@
|
|||
<span class="icon has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-18px"
|
||||
:class="$statusHelper.getIcon(statusOption.slug)"/>
|
||||
:class="$statusHelper.getIcon(statusOption.slug)" />
|
||||
</span>
|
||||
{{ statusOption.name }}
|
||||
</b-radio>
|
||||
|
@ -577,7 +577,7 @@
|
|||
<form
|
||||
id="form-collection-begin-right"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginRightForm"/>
|
||||
v-html="getBeginRightForm" />
|
||||
</template>
|
||||
|
||||
<!-- Image thumbnail & Header Image -------------------------------- -->
|
||||
|
@ -586,7 +586,7 @@
|
|||
{{ $i18n.get('label_thumbnail') }} & {{ $i18n.get('label_header_image') }}
|
||||
<help-button
|
||||
:title="$i18n.get('label_thumbnail') + ' & ' + $i18n.get('label_header_image')"
|
||||
:message="$i18n.get('info_collection_thumbnail_and_header')"/>
|
||||
:message="$i18n.get('info_collection_thumbnail_and_header')" />
|
||||
</label>
|
||||
|
||||
<!-- Header Image -------------------------------- -->
|
||||
|
@ -613,7 +613,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -629,7 +629,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -647,7 +647,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ $thumbHelper.getSrc(collection['thumbnail'], 'tainacan-medium') ] },
|
||||
title: $i18n.get('label_thumbnail'),
|
||||
description: `<img alt='` + $i18n.get('label_thumbnail') + `' src='` + $thumbHelper.getSrc(collection['thumbnail'], 'full') + `'/>`
|
||||
}"/>
|
||||
}" />
|
||||
<figure
|
||||
v-if="collection.thumbnail == undefined || ((collection.thumbnail.medium == undefined || collection.thumbnail.medium == false) && (collection.thumbnail['tainacan-medium'] == undefined || collection.thumbnail['tainacan-medium'] == false))"
|
||||
class="image">
|
||||
|
@ -670,7 +670,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -686,7 +686,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -708,7 +708,7 @@
|
|||
false-value="no" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('collections', 'cover_page_id')"
|
||||
:message="$i18n.getHelperMessage('collections', 'cover_page_id')"/>
|
||||
:message="$i18n.getHelperMessage('collections', 'cover_page_id')" />
|
||||
<template v-if="form.enable_cover_page == 'yes'">
|
||||
<b-autocomplete
|
||||
v-if="coverPage == undefined || coverPage.title == undefined"
|
||||
|
@ -744,7 +744,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-close"/>
|
||||
<i class="tainacan-icon tainacan-icon-close" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -763,7 +763,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
|
||||
|
@ -778,7 +778,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -790,7 +790,7 @@
|
|||
target="_blank"
|
||||
:href="newPagePath">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-add"/>
|
||||
<i class="tainacan-icon tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_create_new_page') }}
|
||||
</a>
|
||||
|
@ -830,7 +830,7 @@
|
|||
<form
|
||||
id="form-collection-end-right"
|
||||
class="form-hook-region"
|
||||
v-html="getEndRightForm"/>
|
||||
v-html="getEndRightForm" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
@ -876,7 +876,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-items" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_collection') }}</p>
|
||||
|
@ -886,7 +886,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
:bread-crumb-items="[
|
||||
{ path: $routerHelper.getAvailableExportersPath(), label: $i18n.get('exporters') },
|
||||
{ path: '', label: exporterType != undefined ? (exporterName != undefined ? exporterName : exporterType) : $i18n.get('title_exporter_page') }
|
||||
]"/>
|
||||
]" />
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
<form
|
||||
v-if="exporterSession"
|
||||
label-width="120px"
|
||||
|
@ -22,7 +22,7 @@
|
|||
</div>
|
||||
<div
|
||||
style="max-width: var(--tainacan-one-column);"
|
||||
class="column is-gapless"/>
|
||||
class="column is-gapless" />
|
||||
<div class="column is-gapless">
|
||||
<b-field
|
||||
v-if="exporterSession.manual_collection"
|
||||
|
@ -31,7 +31,7 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_source_collection')"
|
||||
:message="$i18n.get('info_source_collection_helper')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<br>
|
||||
<b-select
|
||||
v-model="selectedCollection"
|
||||
|
@ -77,7 +77,7 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_send_email')"
|
||||
:message="'<span>' + $i18n.get('info_send_email') + ` <a href='` + adminFullURL + $routerHelper.getProcessesPage() + `'>` + $i18n.get('activities') + ` ` + $i18n.get('label_page') + '</a></span>'"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<b-checkbox
|
||||
v-model="sendEmail"
|
||||
true-value="1"
|
||||
|
|
|
@ -15,12 +15,12 @@
|
|||
:class="formErrors['name'] != undefined ? 'is-danger' : ''">*</span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('filters', 'name')"
|
||||
:message="$i18n.getHelperMessage('filters', 'name')"/>
|
||||
:message="$i18n.getHelperMessage('filters', 'name')" />
|
||||
</label>
|
||||
<b-input
|
||||
v-model="form.name"
|
||||
name="name"
|
||||
@focus="clearErrors('name')"/>
|
||||
@focus="clearErrors('name')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -28,7 +28,7 @@
|
|||
<form
|
||||
id="form-filter-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<b-field
|
||||
|
@ -39,7 +39,7 @@
|
|||
{{ $i18n.get('label_description') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('filters', 'description')"
|
||||
:message="$i18n.getHelperMessage('filters', 'description')"/>
|
||||
:message="$i18n.getHelperMessage('filters', 'description')" />
|
||||
</label>
|
||||
<b-input
|
||||
v-model="form.description"
|
||||
|
@ -57,7 +57,7 @@
|
|||
{{ $i18n.get('label_status') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('filters', 'status')"
|
||||
:message="$i18n.getHelperMessage('filters', 'status')"/>
|
||||
:message="$i18n.getHelperMessage('filters', 'status')" />
|
||||
</label>
|
||||
<div class="inline-block">
|
||||
<b-radio
|
||||
|
@ -67,7 +67,7 @@
|
|||
native-value="publish"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-public"/>
|
||||
<i class="tainacan-icon tainacan-icon-public" />
|
||||
</span>
|
||||
{{ $i18n.get('status_public') }}
|
||||
</b-radio>
|
||||
|
@ -79,7 +79,7 @@
|
|||
native-value="private"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
{{ $i18n.get('status_private') }}
|
||||
</b-radio>
|
||||
|
@ -93,7 +93,7 @@
|
|||
{{ $i18n.get('label_max_options_to_show') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('filters', 'max_options')"
|
||||
:message="$i18n.getHelperMessage('filters', 'max_options')"/>
|
||||
:message="$i18n.getHelperMessage('filters', 'max_options')" />
|
||||
</label>
|
||||
|
||||
<div
|
||||
|
@ -123,7 +123,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -146,7 +146,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -200,17 +200,17 @@
|
|||
v-if="(form.filter_type_object && form.filter_type_object.form_component) || form.edit_form == ''"
|
||||
v-model:value="form.filter_type_options"
|
||||
:errors="formErrors['filter_type_options']"
|
||||
:filter="form"/>
|
||||
:filter="form" />
|
||||
<div
|
||||
v-else
|
||||
v-html="form.edit_form"/>
|
||||
v-html="form.edit_form" />
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
<template v-if="hasEndLeftForm">
|
||||
<form
|
||||
id="form-filter-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:bread-crumb-items="[
|
||||
{ path: $routerHelper.getAvailableImportersPath(), label: $i18n.get('importers') },
|
||||
{ path: '', label: importerType != undefined ? (importerName != undefined ? importerName :importerType) : $i18n.get('title_importer_page') }
|
||||
]"/>
|
||||
]" />
|
||||
<form
|
||||
v-if="importer != undefined && importer != null"
|
||||
class="tainacan-form"
|
||||
|
@ -25,7 +25,7 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_source_file')"
|
||||
:message="$i18n.get('info_source_file_upload')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<br>
|
||||
<b-upload
|
||||
v-if="importer.tmp_file == undefined && (importerFile == undefined || importerFile == null || importerFile == '')"
|
||||
|
@ -36,7 +36,7 @@
|
|||
<div class="content has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-upload"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-upload" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('instruction_drop_file_or_click_to_upload') }}</p>
|
||||
|
@ -58,7 +58,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -77,10 +77,10 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_url_source_link')"
|
||||
:message="$i18n.get('info_url_source_link_helper')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<b-input
|
||||
id="tainacan-url-link-source"
|
||||
v-model="url"/>
|
||||
v-model="url" />
|
||||
</b-field>
|
||||
</div>
|
||||
|
||||
|
@ -103,7 +103,7 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_target_collection')"
|
||||
:message="$i18n.get('info_target_collection_helper')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<br>
|
||||
<div class="is-inline">
|
||||
<b-select
|
||||
|
@ -125,7 +125,7 @@
|
|||
class="add-link"
|
||||
:to="{ path: $routerHelper.getNewCollectionPath(), query: { fromImporter: true }}">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-add"/>
|
||||
<i class="tainacan-icon tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('new_blank_collection') }}
|
||||
</router-link>
|
||||
|
@ -140,7 +140,7 @@
|
|||
<div v-if="importer.options_form != undefined && importer.options_form != null && importer.options_form != ''">
|
||||
<!-- Importer custom options -->
|
||||
<form id="importerOptionsForm">
|
||||
<div v-html="importer.options_form"/>
|
||||
<div v-html="importer.options_form" />
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
@ -193,7 +193,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<form
|
||||
v-if="importer != undefined && importer != null"
|
||||
|
@ -36,7 +36,7 @@
|
|||
<b-loading
|
||||
v-model="isLoadingSourceInfo"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<!-- Metadata Mapping -->
|
||||
<div
|
||||
|
@ -50,7 +50,7 @@
|
|||
class="is-inline is-pulled-right add-link has-text-secondary"
|
||||
@click="createAllMetadata()">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-approvedcircle"/>
|
||||
<i class="tainacan-icon tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
{{ $i18n.get('label_set_all_create_metadata') }}
|
||||
</a>
|
||||
|
@ -60,7 +60,7 @@
|
|||
class="is-inline is-pulled-right add-link has-text-secondary"
|
||||
@click="createNewMetadatum()">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-add"/>
|
||||
<i class="tainacan-icon tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_add_more_metadata') }}
|
||||
</a>
|
||||
|
@ -214,7 +214,7 @@
|
|||
aria-modal>
|
||||
<b-loading
|
||||
v-model="isLoadingMetadatumTypes"
|
||||
:is-full-page="isFullPage"/>
|
||||
:is-full-page="isFullPage" />
|
||||
<div
|
||||
|
||||
class="tainacan-modal-content">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-attachments"/>
|
||||
<i class="tainacan-icon tainacan-icon-attachments" />
|
||||
</span>
|
||||
{{ collection && collection.item_attachment_label ? collection.item_attachment_label : $i18n.get('label_attachments') }}
|
||||
<span
|
||||
|
@ -18,7 +18,7 @@
|
|||
</label>
|
||||
<help-button
|
||||
:title="collection && collection.item_attachment_label ? collection.item_attachment_label : $i18n.get('label_attachments')"
|
||||
:message="$i18n.get('info_edit_attachments')"/>
|
||||
:message="$i18n.get('info_edit_attachments')" />
|
||||
<button
|
||||
style="float: right; font-size: 0.875em; margin: 2px 5px;"
|
||||
type="button"
|
||||
|
@ -26,7 +26,7 @@
|
|||
:disabled="isLoading"
|
||||
@click.prevent="($event) => $emit('openAttachmentsMediaFrame', $event)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
{{ $i18n.get('label_add_or_update') }}
|
||||
</button>
|
||||
|
@ -41,7 +41,7 @@
|
|||
:collection="collection"
|
||||
:is-editable="true"
|
||||
:should-load-attachments="shouldLoadAttachments"
|
||||
@onDeleteAttachment="($event) => $emit('onDeleteAttachment', $event)"/>
|
||||
@onDeleteAttachment="($event) => $emit('onDeleteAttachment', $event)" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
<div
|
||||
v-if="!$adminOptions.hideBulkEditionPageTitle"
|
||||
class="tainacan-page-title">
|
||||
|
@ -36,7 +36,7 @@
|
|||
<p>
|
||||
<b-icon
|
||||
icon="upload"
|
||||
size="is-large"/>
|
||||
size="is-large" />
|
||||
</p>
|
||||
<p>{{ $i18n.get('instruction_drop_file_or_click_to_upload') }}</p>
|
||||
</div>
|
||||
|
@ -50,13 +50,13 @@
|
|||
<div class="sequence-progress-info">
|
||||
<p v-if="uploadedItems.length > 0 && uploadedItems.length != amountFinished">
|
||||
<span class="icon is-small has-text-secondary">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-updating"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-updating" />
|
||||
</span>
|
||||
{{ $i18n.get('label_upload_file_prepare_items') }}
|
||||
</p>
|
||||
<p v-if="uploadedItems.length > 0 && uploadedItems.length == amountFinished">
|
||||
<span class="icon is-small has-text-success">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
{{ $i18n.get('label_process_completed') }}
|
||||
</p>
|
||||
|
@ -76,10 +76,10 @@
|
|||
<div
|
||||
v-if="uploadedItems.length > 0"
|
||||
:style="{ width: (amountFinished/uploadedItems.length)*100 + '%' }"
|
||||
class="sequence-progress"/>
|
||||
class="sequence-progress" />
|
||||
<div
|
||||
v-if="uploadedItems.length > 0"
|
||||
class="sequence-progress-background"/>
|
||||
class="sequence-progress-background" />
|
||||
|
||||
<!-- Uploaded Items -->
|
||||
<transition-group name="item-appear">
|
||||
|
@ -91,7 +91,7 @@
|
|||
v-if="item.document != undefined && item.document != '' && item.document_type != 'empty'"
|
||||
class="document-thumb"
|
||||
:alt="$i18n.get('label_thumbnail') + ': ' + item.title"
|
||||
:src="$thumbHelper.getSrc(item['thumbnail'], 'tainacan-small', item.document_mimetype)" >
|
||||
:src="$thumbHelper.getSrc(item['thumbnail'], 'tainacan-small', item.document_mimetype)">
|
||||
<span
|
||||
class="document-name"
|
||||
v-html="item.title" />
|
||||
|
@ -138,7 +138,7 @@
|
|||
}"
|
||||
class="icon has-text-secondary action-icon"
|
||||
@click="deleteOneItem(item.id, index)">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-delete" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -181,7 +181,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-collection"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-collection" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_bulk_edit_items_collection') }}</p>
|
||||
|
|
|
@ -3,13 +3,13 @@
|
|||
<div class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i :class="'tainacan-icon tainacan-icon-' + ( (!form.document_type || form.document_type == 'empty' ) ? 'item' : (form.document_type == 'attachment' ? 'attachments' : form.document_type))"/>
|
||||
<i :class="'tainacan-icon tainacan-icon-' + ( (!form.document_type || form.document_type == 'empty' ) ? 'item' : (form.document_type == 'attachment' ? 'attachments' : form.document_type))" />
|
||||
</span>
|
||||
{{ collection && collection.item_document_label ? collection.item_document_label : ( (form.document != undefined && form.document != null && form.document != '') ? $i18n.get('label_document') : $i18n.get('label_document_empty') ) }}
|
||||
</label>
|
||||
<help-button
|
||||
:title="collection && collection.item_document_label ? collection.item_document_label : $i18n.getHelperTitle('items', 'document')"
|
||||
:message="$i18n.getHelperMessage('items', 'document')"/>
|
||||
:message="$i18n.getHelperMessage('items', 'document')" />
|
||||
</div>
|
||||
<div class="section-box document-field">
|
||||
<div
|
||||
|
@ -34,7 +34,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -51,7 +51,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -64,7 +64,7 @@
|
|||
type="button"
|
||||
@click.prevent="($event) => $emit('onSetFileDocument', $event)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-upload"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-upload" />
|
||||
</span>
|
||||
</button>
|
||||
<p>{{ $i18n.get('label_file') }}</p>
|
||||
|
@ -74,7 +74,7 @@
|
|||
type="button"
|
||||
@click.prevent="$emit('onSetTextDocument')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-text"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-text" />
|
||||
</span>
|
||||
</button>
|
||||
<p>{{ $i18n.get('label_text') }}</p>
|
||||
|
@ -84,7 +84,7 @@
|
|||
type="button"
|
||||
@click.prevent="$emit('onSetURLDocument')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url" />
|
||||
</span>
|
||||
</button>
|
||||
<p>{{ $i18n.get('label_url') }}</p>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<tainacan-title
|
||||
v-if="!$adminOptions.hideItemEditionPageTitle || ($adminOptions.hideItemEditionPageTitle && isEditingItemMetadataInsideIframe)"
|
||||
|
@ -60,8 +60,8 @@
|
|||
width="24">
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/>
|
||||
fill="none" />
|
||||
<path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -85,7 +85,7 @@
|
|||
<span
|
||||
v-if="isUpdatingValues"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-updating tainacan-icon-spin"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-updating tainacan-icon-spin" />
|
||||
</span>
|
||||
<span
|
||||
v-else
|
||||
|
@ -98,8 +98,8 @@
|
|||
width="24">
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"/>
|
||||
fill="none" />
|
||||
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -185,7 +185,7 @@
|
|||
<form
|
||||
id="form-item-begin-right"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginRightForm"/>
|
||||
v-html="getBeginRightForm" />
|
||||
</template>
|
||||
|
||||
<div class="b-tabs">
|
||||
|
@ -221,10 +221,10 @@
|
|||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 32 32">
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
|
@ -235,10 +235,10 @@
|
|||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24">
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
</nav>
|
||||
|
@ -275,7 +275,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : collapseAll, 'tainacan-icon-arrowright' : !collapseAll }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<template v-if="isMobileScreen">{{ collapseAll ? $i18n.get('label_collapse') : $i18n.get('label_expand') }}</template>
|
||||
<template v-else>{{ collapseAll ? $i18n.get('label_collapse_all') : $i18n.get('label_expand_all') }}</template>
|
||||
|
@ -334,7 +334,7 @@
|
|||
v-if="isUpdatingValues && isMetadataNavigation && !$adminOptions.mobileAppMode"
|
||||
class="update-warning">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-updating"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-updating" />
|
||||
</span>
|
||||
</span>
|
||||
|
||||
|
@ -391,11 +391,11 @@
|
|||
'tainacan-icon-arrowdown' : (metadataSectionCollapses[sectionIndex] || formErrorMessage) && !isSectionHidden(metadataSection.id),
|
||||
'tainacan-icon-arrowright' : !(metadataSectionCollapses[sectionIndex] || formErrorMessage) || isSectionHidden(metadataSection.id)
|
||||
}"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-metadata" />
|
||||
</span>
|
||||
<span
|
||||
v-if="metadataSections.length > 1 && collection.item_enable_metadata_enumeration === 'yes'"
|
||||
|
@ -466,7 +466,7 @@
|
|||
<form
|
||||
id="form-item-end-right"
|
||||
class="form-hook-region"
|
||||
v-html="formHooks['item']['end-right'].join('')"/>
|
||||
v-html="formHooks['item']['end-right'].join('')" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
@ -556,7 +556,7 @@
|
|||
<form
|
||||
id="form-item-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<!-- Document -------------------------------- -->
|
||||
|
@ -605,7 +605,7 @@
|
|||
<form
|
||||
id="form-item-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
|
||||
</div>
|
||||
|
@ -628,7 +628,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-items" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_item') }}</p>
|
||||
|
@ -645,11 +645,11 @@
|
|||
<!-- Sequence Progress -->
|
||||
<div
|
||||
v-if="isOnSequenceEdit"
|
||||
class="sequence-progress-background"/>
|
||||
class="sequence-progress-background" />
|
||||
<div
|
||||
v-if="isOnSequenceEdit && itemPosition != undefined && group != null && group.items_count != undefined"
|
||||
:style="{ width: (itemPosition/group.items_count)*100 + '%' }"
|
||||
class="sequence-progress"/>
|
||||
class="sequence-progress" />
|
||||
|
||||
<!-- Last Updated Info -->
|
||||
<div
|
||||
|
@ -665,7 +665,7 @@
|
|||
v-if="isUpdatingValues"
|
||||
class="update-warning">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-updating"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-updating" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('info_updating_metadata_values') }}</span>
|
||||
</span>
|
||||
|
@ -692,12 +692,12 @@
|
|||
true-value="open"
|
||||
false-value="closed">
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-comment"/>
|
||||
<i class="tainacan-icon tainacan-icon-comment" />
|
||||
</span>
|
||||
{{ $i18n.get('label_allow_comments') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('items', 'comment_status')"
|
||||
:message="$i18n.getHelperMessage('items', 'comment_status')"/>
|
||||
:message="$i18n.getHelperMessage('items', 'comment_status')" />
|
||||
</b-switch>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
class="button sequence-button"
|
||||
@click="$emit('onPrevInSequence')">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-previous" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('previous') }}</span>
|
||||
</button>
|
||||
|
@ -83,7 +83,7 @@
|
|||
v-if="isOnSequenceEdit && !isCurrentItemOnSequenceEdit"
|
||||
class="icon is-large"
|
||||
style="margin-left: 0em;">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-next" />
|
||||
</span>
|
||||
<span
|
||||
v-if="!$adminOptions.mobileAppMode"
|
||||
|
@ -103,7 +103,7 @@
|
|||
( (isOnSequenceEdit && !isCurrentItemOnSequenceEdit) ? 'next' : null)
|
||||
)">
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-draft"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-draft" />
|
||||
</span>
|
||||
{{ status == 'draft' ? $i18n.get('label_update_draft') : $i18n.get('label_change_to_draft') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -117,7 +117,7 @@
|
|||
( (isOnSequenceEdit && !isCurrentItemOnSequenceEdit) ? 'next' : null)
|
||||
)">
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-private" />
|
||||
</span>
|
||||
{{ status == 'private' ? $i18n.get('label_update_as_private') : ( status == 'draft' ? $i18n.get('label_verb_publish_privately') : $i18n.get('label_change_to_private') ) }}
|
||||
</b-dropdown-item>
|
||||
|
@ -130,7 +130,7 @@
|
|||
( (isOnSequenceEdit && !isCurrentItemOnSequenceEdit) ? 'next' : null)
|
||||
)">
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-public"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-public" />
|
||||
</span>
|
||||
{{ status == 'publish' ? $i18n.get('label_update_as_public') : $i18n.get('label_verb_publish') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -161,7 +161,7 @@
|
|||
@click="$emit('onNextInSequence')">
|
||||
<span>{{ $i18n.get('label_next') }}</span>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-next" />
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
@ -172,7 +172,7 @@
|
|||
class="button sequence-button"
|
||||
@click="$router.push($routerHelper.getCollectionPath(collectionId))">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-approved"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-approved" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('finish') }}</span>
|
||||
</button>
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-image"/>
|
||||
<i class="tainacan-icon tainacan-icon-image" />
|
||||
</span>
|
||||
{{ collection && collection.item_thumbnail_label ? collection.item_thumbnail_label : $i18n.get('label_thumbnail') }}
|
||||
</label>
|
||||
<help-button
|
||||
:title="collection && collection.item_thumbnail_label ? collection.item_thumbnail_label: $i18n.getHelperTitle('items', '_thumbnail_id')"
|
||||
:message="$i18n.getHelperMessage('items', '_thumbnail_id')"/>
|
||||
:message="$i18n.getHelperMessage('items', '_thumbnail_id')" />
|
||||
|
||||
</div>
|
||||
<div
|
||||
|
@ -28,7 +28,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ $thumbHelper.getSrc(item['thumbnail'], 'tainacan-medium', item.document_mimetype) ] },
|
||||
title: $i18n.get('label_thumbnail'),
|
||||
description: `<img alt='` + $i18n.get('label_thumbnail') + `' src='` + $thumbHelper.getSrc(item['thumbnail'], 'full', item.document_mimetype) + `'/>`
|
||||
}"/>
|
||||
}" />
|
||||
<figure
|
||||
v-if="item.thumbnail == undefined || ((item.thumbnail.medium == undefined || item.thumbnail.medium == false) && (item.thumbnail['tainacan-medium'] == undefined || item.thumbnail['tainacan-medium'] == false))"
|
||||
class="image">
|
||||
|
@ -47,7 +47,7 @@
|
|||
:label="$i18n.get('label_thumbnail_alt')">
|
||||
<help-button
|
||||
:title="$i18n.get('label_thumbnail_alt')"
|
||||
:message="$i18n.get('info_thumbnail_alt')"/>
|
||||
:message="$i18n.get('info_thumbnail_alt')" />
|
||||
<textarea
|
||||
id="tainacan-text-description"
|
||||
class="textarea"
|
||||
|
@ -69,7 +69,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -86,7 +86,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<b-input
|
||||
v-model="form.name"
|
||||
name="name"
|
||||
@focus="clearErrors('name')"/>
|
||||
@focus="clearErrors('name')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -46,7 +46,7 @@
|
|||
<form
|
||||
id="form-metadataSection-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<b-field
|
||||
|
@ -65,7 +65,7 @@
|
|||
type="textarea"
|
||||
name="description"
|
||||
rows="3"
|
||||
@focus="clearErrors('description')"/>
|
||||
@focus="clearErrors('description')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -108,7 +108,7 @@
|
|||
native-value="publish"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-public"/>
|
||||
<i class="tainacan-icon tainacan-icon-public" />
|
||||
</span>
|
||||
{{ $i18n.get('status_public') }}
|
||||
</b-radio>
|
||||
|
@ -119,7 +119,7 @@
|
|||
native-value="private"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
{{ $i18n.get('status_private') }}
|
||||
</b-radio>
|
||||
|
@ -221,11 +221,11 @@
|
|||
</transition>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
<template v-if="hasEndLeftForm" >
|
||||
<template v-if="hasEndLeftForm">
|
||||
<form
|
||||
id="form-metadataSection-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
|
||||
</div>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<b-input
|
||||
v-model="form.name"
|
||||
name="name"
|
||||
@focus="clearErrors('name')"/>
|
||||
@focus="clearErrors('name')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -54,7 +54,7 @@
|
|||
<form
|
||||
id="form-metadatum-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<b-field
|
||||
|
@ -73,7 +73,7 @@
|
|||
type="textarea"
|
||||
name="description"
|
||||
rows="3"
|
||||
@focus="clearErrors('description')"/>
|
||||
@focus="clearErrors('description')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -111,7 +111,7 @@
|
|||
<b-input
|
||||
v-model="form.placeholder"
|
||||
name="placeholder"
|
||||
@focus="clearErrors('placeholder')"/>
|
||||
@focus="clearErrors('placeholder')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -134,7 +134,7 @@
|
|||
native-value="publish"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-public"/>
|
||||
<i class="tainacan-icon tainacan-icon-public" />
|
||||
</span>
|
||||
{{ $i18n.get('status_public') }}
|
||||
</b-radio>
|
||||
|
@ -145,7 +145,7 @@
|
|||
native-value="private"
|
||||
@focus="clearErrors('label_status')">
|
||||
<span class="icon has-text-gray3">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
{{ $i18n.get('status_private') }}
|
||||
</b-radio>
|
||||
|
@ -272,7 +272,7 @@
|
|||
:disabled="!showCardinalityOptions || form.multiple != 'yes'"
|
||||
name="cardinality"
|
||||
step="1"
|
||||
min="2"/>
|
||||
min="2" />
|
||||
</b-field>
|
||||
|
||||
<b-field v-if="!isRepositoryLevel && isInsideImporterFlow">
|
||||
|
@ -317,17 +317,17 @@
|
|||
v-if="(form.metadata_type_object && form.metadata_type_object.form_component) || form.edit_form != ''"
|
||||
v-model:value="form.metadata_type_options"
|
||||
:errors="formErrors['metadata_type_options']"
|
||||
:metadatum="form"/>
|
||||
:metadatum="form" />
|
||||
<div
|
||||
v-else
|
||||
v-html="form.edit_form"/>
|
||||
v-html="form.edit_form" />
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
<template v-if="hasEndLeftForm" >
|
||||
<template v-if="hasEndLeftForm">
|
||||
<form
|
||||
id="form-metadatum-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
</div>
|
||||
</transition>
|
||||
|
@ -362,7 +362,7 @@
|
|||
v-model="form.semantic_uri"
|
||||
name="semantic_uri"
|
||||
type="url"
|
||||
@focus="clearErrors('semantic_uri')"/>
|
||||
@focus="clearErrors('semantic_uri')" />
|
||||
</b-field>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:bread-crumb-items="[
|
||||
{ path: $routerHelper.getTaxonomiesPath(), label: $i18n.get('taxonomies') },
|
||||
{ path: '', label: (taxonomy != null && taxonomy.name != undefined) ? taxonomy.name : $i18n.get('taxonomy') }
|
||||
]"/>
|
||||
]" />
|
||||
|
||||
<form
|
||||
v-if="taxonomy != null && taxonomy != undefined && (($route.name == 'TaxonomyCreationForm' && $userCaps.hasCapability('tnc_rep_edit_taxonomies')) || ($route.name == 'TaxonomyEditionForm' && taxonomy.current_user_can_edit))"
|
||||
|
@ -24,14 +24,14 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'name')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'name')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<b-input
|
||||
id="tainacan-text-name"
|
||||
v-model="form.name"
|
||||
:disabled="isUpdatingSlug"
|
||||
:loading="isUpdatingSlug"
|
||||
@focus="clearErrors('name')"
|
||||
@blur="updateSlug()"/>
|
||||
@blur="updateSlug()" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -39,7 +39,7 @@
|
|||
<form
|
||||
id="form-taxonomy-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<!-- Description -------------------------------- -->
|
||||
|
@ -51,13 +51,13 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'description')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'description')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<b-input
|
||||
id="tainacan-text-description"
|
||||
v-model="form.description"
|
||||
type="textarea"
|
||||
rows="3"
|
||||
@focus="clearErrors('description')"/>
|
||||
@focus="clearErrors('description')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Allow Insert -->
|
||||
|
@ -73,7 +73,7 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'allow_insert')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'allow_insert')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
</label>
|
||||
</b-field>
|
||||
|
||||
|
@ -90,7 +90,7 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'hierarchical')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'hierarchical')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
</label>
|
||||
</b-field>
|
||||
|
||||
|
@ -103,13 +103,13 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'slug')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'slug')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<b-input
|
||||
id="tainacan-text-slug"
|
||||
v-model="form.slug"
|
||||
:disabled="isUpdatingSlug"
|
||||
@update:model-value="updateSlug()"
|
||||
@focus="clearErrors('slug')"/>
|
||||
@focus="clearErrors('slug')" />
|
||||
</b-field>
|
||||
|
||||
<!-- Activate for other post types -->
|
||||
|
@ -121,7 +121,7 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'enabled_post_types')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'enabled_post_types')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
|
||||
<div class="two-columns-fields">
|
||||
<div
|
||||
|
@ -133,7 +133,7 @@
|
|||
:native-value="wpPostType.slug"
|
||||
:true-value="wpPostType.slug"
|
||||
false-value=""
|
||||
name="enabled_post_types" >
|
||||
name="enabled_post_types">
|
||||
{{ wpPostType.label }}
|
||||
</b-checkbox>
|
||||
</div>
|
||||
|
@ -153,7 +153,7 @@
|
|||
<help-button
|
||||
:title="$i18n.getHelperTitle('taxonomies', 'status')"
|
||||
:message="$i18n.getHelperMessage('taxonomies', 'status')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<div class="status-radios">
|
||||
<b-radio
|
||||
v-for="(statusOption, index) of $statusHelper.getStatuses().filter((status) => status.slug != 'draft')"
|
||||
|
@ -163,7 +163,7 @@
|
|||
<span class="icon has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-18px"
|
||||
:class="$statusHelper.getIcon(statusOption.slug)"/>
|
||||
:class="$statusHelper.getIcon(statusOption.slug)" />
|
||||
</span>
|
||||
{{ statusOption.name }}
|
||||
</b-radio>
|
||||
|
@ -177,12 +177,12 @@
|
|||
<help-button
|
||||
:title="$i18n.get('terms')"
|
||||
:message="$i18n.get('info_taxonomy_terms_list')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
<terms-list
|
||||
:key="shouldReloadTermsList ? 'termslistreloaded' : 'termslist'"
|
||||
:is-hierarchical="form.hierarchical !== 'no'"
|
||||
:taxonomy-id="taxonomyId"
|
||||
:current-user-can-edit-taxonomy="taxonomy ? taxonomy.current_user_can_edit : false"/>
|
||||
:current-user-can-edit-taxonomy="taxonomy ? taxonomy.current_user_can_edit : false" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -190,7 +190,7 @@
|
|||
<form
|
||||
id="form-taxonomy-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -231,7 +231,7 @@
|
|||
class="button link-button"
|
||||
:href="themeTaxonomiesURL + taxonomy.slug">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_taxonomy_page_on_website') }}</span>
|
||||
</a>
|
||||
|
@ -249,7 +249,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-taxonomies"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-taxonomies" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_taxonomy') }}</p>
|
||||
|
@ -259,7 +259,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoadingTaxonomy"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
target="_blank"
|
||||
:href="form.url">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('label_term_page_on_website') }}</span>
|
||||
</a>
|
||||
|
@ -44,7 +44,7 @@
|
|||
v-model="form.name"
|
||||
:placeholder="$i18n.get('label_term_without_name')"
|
||||
name="name"
|
||||
@focus="clearErrors({ name: 'name', repeated: 'repeated' })"/>
|
||||
@focus="clearErrors({ name: 'name', repeated: 'repeated' })" />
|
||||
</b-field>
|
||||
|
||||
<!-- Hook for extra Form options -->
|
||||
|
@ -53,7 +53,7 @@
|
|||
<form
|
||||
id="form-term-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<div class="columns is-gapless image-and-description-area">
|
||||
|
@ -86,7 +86,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -102,7 +102,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -121,13 +121,13 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_description')"
|
||||
:message="$i18n.get('info_help_term_description')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
</label>
|
||||
<b-input
|
||||
v-model="form.description"
|
||||
type="textarea"
|
||||
name="description"
|
||||
@focus="clearErrors('description')"/>
|
||||
@focus="clearErrors('description')" />
|
||||
</b-field>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -148,7 +148,7 @@
|
|||
<help-button
|
||||
:title="$i18n.get('label_parent_term')"
|
||||
:message="$i18n.get('info_help_parent_term')"
|
||||
extra-classes="tainacan-repository-tooltip"/>
|
||||
extra-classes="tainacan-repository-tooltip" />
|
||||
</label>
|
||||
<b-autocomplete
|
||||
id="tainacan-add-parent-field"
|
||||
|
@ -195,7 +195,7 @@
|
|||
<form
|
||||
id="form-term-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
|
||||
<!-- Submit buttons -------------- -->
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
$i18n.get('datepicker_short_saturday'),
|
||||
]"
|
||||
@focus="isTouched = true"
|
||||
@update:model-value="($event) => { resetPage(); validadeValues($event) }"/>
|
||||
@update:model-value="($event) => { resetPage(); validadeValues($event) }" />
|
||||
<p
|
||||
style="font-size: 0.75em; margin-bottom: 0.125em;"
|
||||
class="has-text-centered is-marginless">
|
||||
|
@ -46,7 +46,7 @@
|
|||
$i18n.get('datepicker_short_saturday'),
|
||||
]"
|
||||
@update:model-value="validadeValues()"
|
||||
@focus="isTouched = true"/>
|
||||
@focus="isTouched = true" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-filter-numeric-interval', 'step') }}<span> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-filter-numeric-interval', 'step')"
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-interval', 'step')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-interval', 'step')" />
|
||||
</label>
|
||||
<div
|
||||
v-if="!showEditStepOptions"
|
||||
|
@ -40,7 +40,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -64,7 +64,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
:aria-plus-label="$i18n.get('label_increase')"
|
||||
size="is-small"
|
||||
:step="filterTypeOptions.step"
|
||||
@update:model-value="($event) => { resetPage(); validadeValues($event) }"/>
|
||||
@update:model-value="($event) => { resetPage(); validadeValues($event) }" />
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-filter-numeric-list-interval', 'showIntervalOnTag') }}<span> </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-filter-numeric-list-interval', 'showIntervalOnTag')"
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-list-interval', 'showIntervalOnTag')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-list-interval', 'showIntervalOnTag')" />
|
||||
</label>
|
||||
<div>
|
||||
<b-field>
|
||||
|
@ -22,7 +22,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-filter-numeric-list-interval', 'intervals') }}<span> </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-filter-numeric-list-interval', 'intervals')"
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-list-interval', 'intervals')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric-list-interval', 'intervals')" />
|
||||
</label>
|
||||
<transition-group name="filter-item">
|
||||
<div
|
||||
|
@ -59,7 +59,7 @@
|
|||
:title="$i18n.get('add_value')"
|
||||
@click="addInterval(index)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('add_value') }}
|
||||
</a>
|
||||
|
@ -73,7 +73,7 @@
|
|||
:title="$i18n.get('remove_value')"
|
||||
@click="removeInterval(index)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-repprovedcircle"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-repprovedcircle" />
|
||||
</span>
|
||||
{{ $i18n.get('remove_value') }}
|
||||
</a>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-filter-numeric', 'step') }}<span> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-filter-numeric', 'step')"
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric', 'step')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-filter-numeric', 'step')" />
|
||||
</label>
|
||||
<div
|
||||
v-if="!showEditStepOptions"
|
||||
|
@ -40,7 +40,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -64,7 +64,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
:aria-plus-label="$i18n.get('label_increase')"
|
||||
size="is-small"
|
||||
:step="Number(filterTypeOptions.step)"
|
||||
@update:model-value="($event) => { resetPage($event); emit($event); }"/>
|
||||
@update:model-value="($event) => { resetPage($event); emit($event); }" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
'tainacan-icon-arrowdown' : props && props.open,
|
||||
'tainacan-icon-arrowright' : props && !props.open
|
||||
}"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<span class="collapse-label">{{ filter.name }}</span>
|
||||
</button>
|
||||
|
@ -76,7 +76,7 @@
|
|||
class="label"
|
||||
@click="displayFilter = true">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-arrowright tainacan-icon-1-25em"/>
|
||||
<i class="tainacan-icon tainacan-icon-arrowright tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<span class="collapse-label">{{ filter.name }}</span>
|
||||
</button>
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="activity.user_name"/>
|
||||
v-html="activity.user_name" />
|
||||
</td>
|
||||
<!-- Activity Date -->
|
||||
<td
|
||||
|
@ -82,7 +82,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="activity.date"/>
|
||||
v-html="activity.date" />
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
@ -95,7 +95,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_no_activities') }}</p>
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<file-item
|
||||
:show-name="true"
|
||||
:modal-on-click="true"
|
||||
:file="attachment"/>
|
||||
:file="attachment" />
|
||||
<span
|
||||
v-if="isEditable && form.document != attachment.id"
|
||||
class="file-item-control">
|
||||
|
@ -36,7 +36,7 @@
|
|||
}"
|
||||
class="icon"
|
||||
@click="onDeleteAttachment(attachment)">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -49,7 +49,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-attachments"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-attachments" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.getWithVariables('info_no_%s_on_item_yet', [ collection && collection.item_attachment_label ? collection.item_attachment_label : $i18n.get('label_attachments') ]) }}</p>
|
||||
|
@ -81,7 +81,7 @@
|
|||
:aria-previous-label="$i18n.get('label_previous_page')"
|
||||
:aria-page-label="$i18n.get('label_page')"
|
||||
:aria-current-label="$i18n.get('label_current_page')"
|
||||
@change="onPageChange"/>
|
||||
@change="onPageChange" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="capability.description"/>
|
||||
v-html="capability.description" />
|
||||
</td>
|
||||
<!-- Associated Roles -->
|
||||
<complete-roles-list
|
||||
|
@ -84,7 +84,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="props['complete-roles-list']"/>
|
||||
v-html="props['complete-roles-list']" />
|
||||
</td>
|
||||
</template>
|
||||
</complete-roles-list>
|
||||
|
@ -105,7 +105,7 @@
|
|||
placement: 'auto'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="column">
|
||||
|
||||
<b-loading v-model="isLoadingMetadataSections"/>
|
||||
<b-loading v-model="isLoadingMetadataSections" />
|
||||
|
||||
<div class="tainacan-form sub-header">
|
||||
<template v-if="activeMetadataSectionsList">
|
||||
|
@ -14,7 +14,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : collapseAll, 'tainacan-icon-arrowright' : !collapseAll }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em" />
|
||||
</span>
|
||||
<span class="collapse-all__text">
|
||||
{{ collapseAll ? $i18n.get('label_show_less_details') : $i18n.get('label_show_more_details') }}
|
||||
|
@ -33,7 +33,7 @@
|
|||
class="button is-white">
|
||||
<span>{{ $i18n.get('label_filter_by_metadata_type') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -72,7 +72,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_metadata_section') }}</p>
|
||||
|
@ -159,8 +159,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="metadatum-name">
|
||||
|
@ -189,12 +189,12 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
v-if="metadataSection.id == undefined"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
<span
|
||||
v-if="metadataSection.id !== undefined"
|
||||
class="controls">
|
||||
|
@ -202,7 +202,7 @@
|
|||
:disabled="isUpdatingMetadataSectionsOrder"
|
||||
size="is-small"
|
||||
:model-value="metadataSection.enabled"
|
||||
@update:model-value="onChangeEnableSection($event, sectionIndex)"/>
|
||||
@update:model-value="onChangeEnableSection($event, sectionIndex)" />
|
||||
<a
|
||||
v-if="metadataSection.current_user_can_edit"
|
||||
:style="{ visibility:
|
||||
|
@ -218,7 +218,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -234,7 +234,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -247,7 +247,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_metadatum' ) }}</p>
|
||||
|
@ -255,7 +255,7 @@
|
|||
</div>
|
||||
</section>
|
||||
|
||||
<b-loading v-model="isUpdatingMetadatum"/>
|
||||
<b-loading v-model="isUpdatingMetadatum" />
|
||||
|
||||
<!-- The Metadata list, inside each metadata section -->
|
||||
<template v-if="metadataSection.metadata_object_list && Array.isArray(metadataSection.metadata_object_list)">
|
||||
|
@ -334,8 +334,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
|
@ -378,7 +378,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
<span
|
||||
v-tooltip="{
|
||||
|
@ -406,7 +406,7 @@
|
|||
</span>
|
||||
<span
|
||||
v-if="metadatum.id == undefined || isUpdatingMetadatum"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
<span
|
||||
v-if="metadatum.id !== undefined"
|
||||
class="controls">
|
||||
|
@ -415,7 +415,7 @@
|
|||
:disabled="isUpdatingMetadataOrder || !metadataSection.enabled"
|
||||
size="is-small"
|
||||
:model-value="metadatum.enabled"
|
||||
@update:model-value="onChangeEnable($event, index, sectionIndex)"/>
|
||||
@update:model-value="onChangeEnable($event, index, sectionIndex)" />
|
||||
<a
|
||||
v-if="metadatum.current_user_can_edit"
|
||||
:style="{ visibility:
|
||||
|
@ -431,7 +431,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -446,7 +446,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
class="first-card">
|
||||
<div class="list-metadata">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-addcollection"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-addcollection" />
|
||||
</span>
|
||||
<div>{{ $i18n.get('label_create_collection') }}</div>
|
||||
</div>
|
||||
|
@ -29,7 +29,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-items" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('items') }}</span>
|
||||
</router-link>
|
||||
|
@ -46,7 +46,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('metadata', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -63,7 +63,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('filters', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -76,7 +76,7 @@
|
|||
class="tainacan-card new-card">
|
||||
<div class="list-metadata">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-addcollection"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-addcollection" />
|
||||
</span>
|
||||
<div>{{ $i18n.get('label_create_collection') }}</div>
|
||||
</div>
|
||||
|
@ -92,7 +92,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.get('items') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -108,7 +108,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.getFrom('metadata', 'name') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -124,7 +124,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.getFrom('filters', 'name') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -149,7 +149,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.get('items') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -165,7 +165,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-add"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-add" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.get('add_one_item') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -181,7 +181,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.get('label_settings') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -197,7 +197,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.getFrom('metadata', 'name') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -213,7 +213,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.getFrom('filters', 'name') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -229,7 +229,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities" />
|
||||
</span>
|
||||
<!-- <span class="menu-text">{{ $i18n.get('activities') }}</span> -->
|
||||
</router-link>
|
||||
|
@ -246,7 +246,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<button class="button is-white">
|
||||
<span>{{ $i18n.get('label_bulk_actions') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -144,7 +144,7 @@
|
|||
v-if="$userCaps.hasCapability('tnc_rep_delete_collections')"
|
||||
:class="{ 'is-selecting': isSelectingCollections }"
|
||||
class="checkbox-cell">
|
||||
<b-checkbox v-model="selectedCollections[index]"/>
|
||||
<b-checkbox v-model="selectedCollections[index]" />
|
||||
</td>
|
||||
<!-- Status icon -->
|
||||
<td
|
||||
|
@ -220,7 +220,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', 'tainacan-repository-tooltip'],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="(collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`"/>
|
||||
v-html="(collection.description != undefined && collection.description != '') ? collection.description : `<span class='has-text-gray is-italic'>` + $i18n.get('label_description_not_provided') + `</span>`" />
|
||||
</td>
|
||||
<!-- Modification Date -->
|
||||
<td
|
||||
|
@ -329,7 +329,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -347,7 +347,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -365,7 +365,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
<button class="button is-white">
|
||||
<span>{{ $i18n.get('label_actions_for_the_selection') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -266,7 +266,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -281,7 +281,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -299,7 +299,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -318,7 +318,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -430,7 +430,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -445,7 +445,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -463,7 +463,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -482,7 +482,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -580,7 +580,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -595,7 +595,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -613,7 +613,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -632,7 +632,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -822,7 +822,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -837,7 +837,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -855,7 +855,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -874,7 +874,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -906,7 +906,7 @@
|
|||
<h3 class="metadata-label">{{ $i18n.get('label_description') }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="item.description"/>
|
||||
v-html="item.description" />
|
||||
</span>
|
||||
<template
|
||||
v-for="(column, metadatumIndex) in displayedMetadata"
|
||||
|
@ -917,14 +917,14 @@
|
|||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="renderMetadata(item.metadata, column)"/>
|
||||
v-html="renderMetadata(item.metadata, column)" />
|
||||
</span>
|
||||
<span
|
||||
v-if="(column.metadatum == 'row_modification' || column.metadatum == 'row_creation' || column.metadatum == 'row_author') && item[column.slug] != undefined && column.display">
|
||||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]"/>
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]" />
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
|
@ -1070,7 +1070,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : ''],
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="`<span class='sr-only'>` + column.name + ': </span>' + ((item.title != undefined && item.title != '') ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`)"/>
|
||||
v-html="`<span class='sr-only'>` + column.name + ': </span>' + ((item.title != undefined && item.title != '') ? item.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`)" />
|
||||
<p
|
||||
v-if="collectionId == undefined &&
|
||||
column.metadata_type_object != undefined &&
|
||||
|
@ -1086,7 +1086,7 @@
|
|||
autoHide: false,
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="`<span class='sr-only'>` + column.name + ': </span>' + ((item.description != undefined && item.description) != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`)"/>
|
||||
v-html="`<span class='sr-only'>` + column.name + ': </span>' + ((item.description != undefined && item.description) != '' ? item.description : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`)" />
|
||||
<p
|
||||
v-if="item.metadata != undefined &&
|
||||
column.metadatum !== 'row_thumbnail' &&
|
||||
|
@ -1107,7 +1107,7 @@
|
|||
autoHide: false,
|
||||
placement: 'auto-start'
|
||||
}"
|
||||
v-html="renderMetadata(item.metadata, column) != '' ? renderMetadata(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`"/>
|
||||
v-html="renderMetadata(item.metadata, column) != '' ? renderMetadata(item.metadata, column) : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`" />
|
||||
|
||||
<span
|
||||
v-if="column.metadatum == 'row_thumbnail'"
|
||||
|
@ -1189,7 +1189,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1204,7 +1204,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1222,7 +1222,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1241,7 +1241,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -1363,7 +1363,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1378,7 +1378,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1396,7 +1396,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1415,7 +1415,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -1449,7 +1449,7 @@
|
|||
<h3 class="metadata-label">{{ $i18n.get('label_description') }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="item.description"/>
|
||||
v-html="item.description" />
|
||||
</span>
|
||||
<template
|
||||
v-for="(column, metadatumIndex) in displayedMetadata"
|
||||
|
@ -1460,13 +1460,13 @@
|
|||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="renderMetadata(item.metadata, column)"/>
|
||||
v-html="renderMetadata(item.metadata, column)" />
|
||||
</span>
|
||||
<span v-if="(column.metadatum == 'row_modification' || column.metadatum == 'row_creation' || column.metadatum == 'row_author') && item[column.slug] != undefined && column.display">
|
||||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]"/>
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]" />
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
|
@ -1603,7 +1603,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1618,7 +1618,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1636,7 +1636,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -1856,7 +1856,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1871,7 +1871,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip', isRepositoryLevel ? 'tainacan-repository-tooltip' : '']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-undo" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1889,7 +1889,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -1908,7 +1908,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -1940,7 +1940,7 @@
|
|||
<h3 class="metadata-label">{{ $i18n.get('label_description') }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="item.description != undefined ? item.description : ''"/>
|
||||
v-html="item.description != undefined ? item.description : ''" />
|
||||
</span>
|
||||
<template
|
||||
v-for="(column, metadatumIndex) in displayedMetadata"
|
||||
|
@ -1955,13 +1955,13 @@
|
|||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="renderMetadata(item.metadata, column)"/>
|
||||
v-html="renderMetadata(item.metadata, column)" />
|
||||
</span>
|
||||
<span v-if="(column.metadatum == 'row_modification' || column.metadatum == 'row_creation' || column.metadatum == 'row_author') && item[column.slug] != undefined">
|
||||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]"/>
|
||||
v-html="(column.metadatum == 'row_creation' || column.metadatum == 'row_modification') ? parseDateToNavigatorLanguage(item[column.slug]) : item[column.slug]" />
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<b-loading
|
||||
v-model="isLoadingMetadatumMappers"
|
||||
:can-cancel="false"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
<b-loading
|
||||
v-model="isLoadingMetadata"
|
||||
:can-cancel="false"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
|
||||
<b-field>
|
||||
<p style="line-height: 2em;">{{ $i18n.get('info_metadata_mapper_helper') }}</p>
|
||||
|
@ -33,7 +33,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_metadatum') }}</p>
|
||||
|
@ -54,7 +54,7 @@
|
|||
class="is-inline is-pulled-right add-link"
|
||||
@click="onNewMetadataMapperMetadata()">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-add"/>
|
||||
<i class="tainacan-icon tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_add_more_mapper_metadata') }}
|
||||
</a>
|
||||
|
@ -110,7 +110,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -127,7 +127,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</p>
|
||||
|
@ -174,14 +174,14 @@
|
|||
<b-input
|
||||
v-model="newMetadataLabel"
|
||||
required
|
||||
:placeholder="$i18n.get('label_name')"/>
|
||||
:placeholder="$i18n.get('label_name')" />
|
||||
</b-field>
|
||||
<b-field>
|
||||
<b-input
|
||||
v-model="newMetadataUri"
|
||||
placeholder="URI"
|
||||
type="url"
|
||||
required/>
|
||||
required />
|
||||
</b-field>
|
||||
<div class="field is-grouped form-submit">
|
||||
<div class="control">
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<template>
|
||||
<div
|
||||
v-if="(isRepositoryLevel && $userCaps.hasCapability('tnc_rep_edit_metadata')) || !isRepositoryLevel"
|
||||
class="column available-metadata-types-area" >
|
||||
class="column available-metadata-types-area">
|
||||
|
||||
<b-loading v-model="isLoadingMetadataTypes"/>
|
||||
<b-loading v-model="isLoadingMetadataTypes" />
|
||||
|
||||
<div class="field">
|
||||
<h3 class="label">{{ $i18n.get('label_available_metadata_types') }}</h3>
|
||||
|
@ -43,8 +43,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="metadatum-name">
|
||||
|
@ -61,12 +61,12 @@
|
|||
placement: 'top',
|
||||
}"
|
||||
class="icon preview-help-icon has-text-secondary">
|
||||
<i class="tainacan-icon tainacan-icon-help"/>
|
||||
<i class="tainacan-icon tainacan-icon-help" />
|
||||
</span>
|
||||
</span>
|
||||
<span
|
||||
v-if="highlightedMetadatum == metadatum.name"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
</div>
|
||||
</template>
|
||||
</sortable>
|
||||
|
@ -107,8 +107,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span class="metadatum-name">
|
||||
|
@ -125,7 +125,7 @@
|
|||
placement: 'top',
|
||||
}"
|
||||
class="icon preview-help-icon has-text-secondary">
|
||||
<i class="tainacan-icon tainacan-icon-help"/>
|
||||
<i class="tainacan-icon tainacan-icon-help" />
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
}"
|
||||
class="icon has-text-gray action-icon"
|
||||
@click.prevent.stop="pauseProcess(index)">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-stop"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-stop" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" ( bgProcess.status === 'finished' && !bgProcess.error_log ) || bgProcess.status === null"
|
||||
|
@ -161,7 +161,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon has-text-success">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-approvedcircle"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" bgProcess.status === 'finished-errors' || ( bgProcess.done > 0 && bgProcess.error_log && bgProcess.status === 'finished' ) "
|
||||
|
@ -176,7 +176,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon has-text-success">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alertcircle has-text-yellow2"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alertcircle has-text-yellow2" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" bgProcess.status === 'cancelled' "
|
||||
|
@ -191,7 +191,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon has-text-success">
|
||||
<i class="tainacan-icon has-text-danger tainacan-icon-1-25em tainacan-icon-repprovedcircle"/>
|
||||
<i class="tainacan-icon has-text-danger tainacan-icon-1-25em tainacan-icon-repprovedcircle" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" bgProcess.status === 'paused' "
|
||||
|
@ -206,7 +206,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon has-text-gray">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-pause"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-pause" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" bgProcess.status === 'waiting' "
|
||||
|
@ -221,7 +221,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon has-text-gray">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-waiting"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-waiting" />
|
||||
</span>
|
||||
<span
|
||||
v-if=" bgProcess.status === 'waiting' "
|
||||
|
@ -237,7 +237,7 @@
|
|||
}"
|
||||
class="icon has-text-gray"
|
||||
@click.prevent.stop="deleteOneProcess(index)">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
<span
|
||||
v-if="bgProcess.status === 'errored'"
|
||||
|
@ -268,7 +268,7 @@
|
|||
class="process-output"
|
||||
:label="$i18n.get('label_output')"
|
||||
:aria-label="$i18n.get('label_output') + ': ' + (bgProcess.output ? bgProcess.output : $i18n.get('label_no_output_info'))">
|
||||
<p v-html="bgProcess.output ? bgProcess.output : $i18n.get('label_no_output_info')"/>
|
||||
<p v-html="bgProcess.output ? bgProcess.output : $i18n.get('label_no_output_info')" />
|
||||
</span>
|
||||
|
||||
<!-- Logs -->
|
||||
|
@ -281,7 +281,7 @@
|
|||
v-if="bgProcess.log"
|
||||
:href="bgProcess.log">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl" />
|
||||
</span>
|
||||
{{ $i18n.get('label_log_file') }}
|
||||
</a>
|
||||
|
@ -291,7 +291,7 @@
|
|||
class="has-text-danger"
|
||||
:href="bgProcess.error_log">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl" />
|
||||
</span>
|
||||
{{ $i18n.get('label_error_log_file') }}
|
||||
</a>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div class="field has-addons">
|
||||
<span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-collection"/>
|
||||
<i class="tainacan-icon tainacan-icon-collection" />
|
||||
</span>
|
||||
{{ relatedItemGroup.collection_name ? relatedItemGroup.collection_name : '' }}
|
||||
</span>
|
||||
|
@ -28,7 +28,7 @@
|
|||
<div class="field has-addons">
|
||||
<span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-metadata" />
|
||||
</span>
|
||||
{{ relatedItemGroup.metadata_name ? relatedItemGroup.metadata_name : '' }}
|
||||
</span>
|
||||
|
@ -102,7 +102,7 @@
|
|||
placement: 'top',
|
||||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
v-html="(relatedItem.title != undefined && relatedItem.title != '') ? relatedItem.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`"/>
|
||||
v-html="(relatedItem.title != undefined && relatedItem.title != '') ? relatedItem.title : `<span class='has-text-gray3 is-italic'>` + $i18n.get('label_value_not_provided') + `</span>`" />
|
||||
</div>
|
||||
<div
|
||||
v-if="isEditable && relatedItem.current_user_can_edit"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="column">
|
||||
|
||||
<b-loading v-model="isLoadingMetadata"/>
|
||||
<b-loading v-model="isLoadingMetadata" />
|
||||
|
||||
<div class="tainacan-form sub-header">
|
||||
<!-- <h3>{{ $i18n.get('metadata') }}<span class="has-text-gray">{{ ( activeMetadatumList && activeMetadatumList.length ? (' (' + activeMetadatumList.length + ')') : '' ) }}</span></h3> -->
|
||||
|
@ -16,7 +16,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : collapseAll, 'tainacan-icon-arrowright' : !collapseAll }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em" />
|
||||
</span>
|
||||
<span class="collapse-all__text">
|
||||
{{ collapseAll ? $i18n.get('label_show_less_details') : $i18n.get('label_show_more_details') }}
|
||||
|
@ -35,7 +35,7 @@
|
|||
class="button is-white">
|
||||
<span>{{ $i18n.get('label_filter_by_metadata_type') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_metadatum' ) }}</p>
|
||||
|
@ -133,8 +133,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
|
@ -177,7 +177,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
<span
|
||||
v-tooltip="{
|
||||
|
@ -197,7 +197,7 @@
|
|||
</span>
|
||||
<span
|
||||
v-if="metadatum.id == undefined"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
<span
|
||||
v-if="metadatum.id !== undefined"
|
||||
class="controls">
|
||||
|
@ -216,7 +216,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -231,7 +231,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
<button class="button is-white">
|
||||
<span>{{ $i18n.get('label_bulk_actions') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -93,7 +93,7 @@
|
|||
:class="{ 'is-selecting': isSelecting }"
|
||||
class="checkbox-cell">
|
||||
<b-checkbox
|
||||
v-model="selected[index]"/>
|
||||
v-model="selected[index]" />
|
||||
</td>
|
||||
<!-- Status icon -->
|
||||
<td
|
||||
|
@ -215,7 +215,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -233,7 +233,7 @@
|
|||
class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-delete': !isOnTrash, 'tainacan-icon-deleteforever': isOnTrash }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -252,7 +252,7 @@
|
|||
html: true
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isColumnLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
|
||||
<transition name="appear-from-top">
|
||||
<button
|
||||
|
@ -59,7 +59,7 @@
|
|||
class="add-link"
|
||||
@click="onAddNewChildTerm(column.id)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_new_term') }}
|
||||
</a>
|
||||
|
@ -70,12 +70,12 @@
|
|||
<span
|
||||
style="position: absolute;margin-left: -5px;margin-top: 5px;"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
<span
|
||||
style="margin-top: -5px;"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ termColumns.length <= 1 ? $i18n.get('label_multiple_terms') : $i18n.get('label_multiple') }}
|
||||
</a>
|
||||
|
@ -90,7 +90,7 @@
|
|||
:addons="false"
|
||||
class="tainacan-li-checkbox"
|
||||
:class="{ 'tainacan-li-checkbox--parent-active': termColumns[columnIndex + 1] && termColumns[columnIndex + 1].id == term.id }">
|
||||
<label class="b-checkbox checkbox" >
|
||||
<label class="b-checkbox checkbox">
|
||||
<input
|
||||
:checked="selectedColumnIndex >= 0 ? selectedColumnIndex == columnIndex : isTermSelected(term.id)"
|
||||
:disabled="selectedColumnIndex >= 0"
|
||||
|
@ -122,7 +122,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</button>
|
||||
<button
|
||||
|
@ -137,7 +137,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-delete" />
|
||||
</span>
|
||||
</button>
|
||||
<a
|
||||
|
@ -151,7 +151,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -164,7 +164,7 @@
|
|||
<span
|
||||
style="margin-right: 0.25rem; opacity: 1.0;"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-nextlevel"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-nextlevel" />
|
||||
</span>
|
||||
<span
|
||||
v-if="termColumns.length <= 1"
|
||||
|
@ -188,7 +188,7 @@
|
|||
class="tainacan-show-more"
|
||||
@click="fetchMoreTerms(column, columnIndex)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore" />
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -198,7 +198,7 @@
|
|||
class="warning-no-more-terms">
|
||||
<p>
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-terms"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-terms" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ column.name ? $i18n.getWithVariables('info_no_child_term_of_%s_found', [ column.name ]) : $i18n.get('info_no_terms_found') }}</p>
|
||||
|
@ -207,7 +207,7 @@
|
|||
class="add-link"
|
||||
@click="onAddNewChildTerm(column.id)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_new_term') }}
|
||||
</a>
|
||||
|
@ -220,12 +220,12 @@
|
|||
<span
|
||||
style="position: absolute;margin-left: -5px;margin-top: 5px;"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
<span
|
||||
style="margin-top: -5px;"
|
||||
class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_multiple_terms_insertion') }}
|
||||
</a>
|
||||
|
@ -249,7 +249,7 @@
|
|||
class="add-link"
|
||||
@click="onAddNewChildTerm(0)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_new_term') }}
|
||||
</a>
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
class="button is-white">
|
||||
<span>{{ selected.length == 1 ? $i18n.get('label_one_selected_term') : $i18n.getWithVariables('label_%s_selected_terms', [ selected.length ]) }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
@ -85,7 +85,7 @@
|
|||
class="button is-white">
|
||||
<span>{{ $i18n.get('label_actions_for_the_selection') }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : collapseAllChildren, 'tainacan-icon-arrowright' : !collapseAllChildren }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
{{ collapseAllChildren ? $i18n.get('label_collapse_all') : $i18n.get('label_expand_all') }}
|
||||
</a>
|
||||
|
@ -49,7 +49,7 @@
|
|||
</span>
|
||||
<help-button
|
||||
:title="childItemMetadatum.metadatum.name"
|
||||
:message="childItemMetadatum.metadatum.description"/>
|
||||
:message="childItemMetadatum.metadatum.description" />
|
||||
</span>
|
||||
<div
|
||||
class="skeleton"
|
||||
|
@ -87,7 +87,7 @@
|
|||
class="add-link"
|
||||
@click="removeGroup(groupIndex)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove" />
|
||||
</span>
|
||||
{{ $i18n.get('label_remove_value') }}
|
||||
</a>
|
||||
|
@ -112,7 +112,7 @@
|
|||
class="is-inline-block add-link"
|
||||
@click="addGroup">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_add_value') }}
|
||||
</a>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="child-metadata-list-container">
|
||||
<span class="icon children-icon not-sortable-item">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-nextlevel"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-nextlevel" />
|
||||
</span>
|
||||
<section
|
||||
v-if="childrenMetadata.length <= 0"
|
||||
|
@ -9,7 +9,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_create_child_metadata') }}</p>
|
||||
|
@ -86,8 +86,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
|
@ -139,7 +139,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
<span
|
||||
v-tooltip="{
|
||||
|
@ -162,7 +162,7 @@
|
|||
</span>
|
||||
<span
|
||||
v-if="metadatum.id == undefined"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
<span
|
||||
v-if="metadatum.id !== undefined"
|
||||
class="controls">
|
||||
|
@ -181,7 +181,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -201,7 +201,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<section>
|
||||
<b-field :addons="false" >
|
||||
<b-field :addons="false">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.getHelperTitle('tainacan-geocoordinate', 'map_provider') }}
|
||||
<span> * </span>
|
||||
|
@ -16,7 +16,7 @@
|
|||
</b-field>
|
||||
|
||||
<b-field
|
||||
:addons="false" >
|
||||
:addons="false">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.getHelperTitle('tainacan-geocoordinate', 'attribution') }}
|
||||
<span> * </span>
|
||||
|
@ -33,7 +33,7 @@
|
|||
</b-field>
|
||||
|
||||
<b-field
|
||||
:addons="false" >
|
||||
:addons="false">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.getHelperTitle('tainacan-geocoordinate', 'initial_zoom') }}
|
||||
<span> * </span>
|
||||
|
@ -51,7 +51,7 @@
|
|||
</b-field>
|
||||
|
||||
<b-field
|
||||
:addons="false" >
|
||||
:addons="false">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.getHelperTitle('tainacan-geocoordinate', 'maximum_zoom') }}
|
||||
<span> * </span>
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
outlined
|
||||
@click="onMarkerRemove(editingMarkerIndex)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove" />
|
||||
</span>
|
||||
{{ $i18n.get('remove_point') }}
|
||||
</b-button>
|
||||
|
@ -51,7 +51,7 @@
|
|||
outlined
|
||||
@click="addLocation(latitude + ',' + longitude)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('add') }}
|
||||
</b-button>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</l-tooltip>
|
||||
<l-icon class-name="tainacan-location-marker-add">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
</l-icon>
|
||||
</l-marker>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-numeric', 'step') }}<span> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-numeric', 'step')"
|
||||
:message="$i18n.getHelperMessage('tainacan-numeric', 'step')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-numeric', 'step')" />
|
||||
</label>
|
||||
<div
|
||||
v-if="!showEditStepOptions"
|
||||
|
@ -40,7 +40,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-edit has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -64,7 +64,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-close has-text-secondary" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -80,7 +80,7 @@
|
|||
v-model="min"
|
||||
name="min"
|
||||
step="1"
|
||||
@input="onUpdateMin"/>
|
||||
@input="onUpdateMin" />
|
||||
</b-field>
|
||||
<b-field :addons="false">
|
||||
<label class="label is-inline">
|
||||
|
@ -93,7 +93,7 @@
|
|||
v-model="max"
|
||||
name="max"
|
||||
step="1"
|
||||
@input="onUpdateMax"/>
|
||||
@input="onUpdateMax" />
|
||||
</b-field>
|
||||
</section>
|
||||
</template>
|
||||
|
|
|
@ -6,10 +6,10 @@
|
|||
:type="collectionType"
|
||||
:message="collectionMessage">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.get('label_collection_related') }}<span :class="collectionType" > * </span>
|
||||
{{ $i18n.get('label_collection_related') }}<span :class="collectionType"> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'collection_id')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'collection_id')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'collection_id')" />
|
||||
</label>
|
||||
<b-select
|
||||
v-model="collection"
|
||||
|
@ -31,7 +31,7 @@
|
|||
<transition name="fade">
|
||||
<div
|
||||
v-if="loadingMetadata"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
</transition>
|
||||
<transition name="filter-item">
|
||||
<b-field
|
||||
|
@ -41,7 +41,7 @@
|
|||
{{ $i18n.get('label_metadata_for_search') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'search')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'search')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'search')" />
|
||||
</label>
|
||||
<b-select
|
||||
v-model="modelSearch"
|
||||
|
@ -65,7 +65,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-relationship', 'display_related_item_metadata') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'display_related_item_metadata')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'display_related_item_metadata')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'display_related_item_metadata')" />
|
||||
</label>
|
||||
<div :class="'displayed-metadata-options' + (metadata.length > 5 ? ' has-more-than-5-metadata' : '')">
|
||||
<b-checkbox
|
||||
|
@ -101,7 +101,7 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'display_in_related_items')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'display_in_related_items')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'display_in_related_items')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -116,7 +116,7 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'accept_draft_items')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_draft_items')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_draft_items')" />
|
||||
</b-field>
|
||||
|
||||
<b-field
|
||||
|
@ -131,7 +131,7 @@
|
|||
@input="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-relationship', 'accept_only_items_authored_by_current_user')"
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_only_items_authored_by_current_user')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-relationship', 'accept_only_items_authored_by_current_user')" />
|
||||
</b-field>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
class="add-link"
|
||||
@click="editItemModalOpen = !editItemModalOpen">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_create_new_item') }}
|
||||
</a>
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
:type="optionType"
|
||||
:message="optionMessage">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.getHelperTitle('tainacan-selectbox', 'options') }}<span :class="optionType" > * </span>
|
||||
{{ $i18n.getHelperTitle('tainacan-selectbox', 'options') }}<span :class="optionType"> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-selectbox', 'options')"
|
||||
:message="$i18n.getHelperMessage('tainacan-selectbox', 'options')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-selectbox', 'options')" />
|
||||
</label>
|
||||
|
||||
<b-taginput
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
'tainacan-icon-arrowdown' : isCollapsed || errorMessage,
|
||||
'tainacan-icon-arrowright' : !(isCollapsed || errorMessage)
|
||||
}"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<label class="label">
|
||||
<span
|
||||
|
@ -109,7 +109,7 @@
|
|||
class="add-link"
|
||||
@click="removeValue(index)">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-remove" />
|
||||
</span>
|
||||
{{ $i18n.get('label_remove_value') }}
|
||||
</a>
|
||||
|
@ -121,7 +121,7 @@
|
|||
class="is-inline-block add-link"
|
||||
@click="addValue">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_add_value') }}
|
||||
</a>
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
:type="taxonomyType"
|
||||
:message="taxonomyMessage">
|
||||
<label class="label is-inline">
|
||||
{{ $i18n.get('label_select_taxonomy') }}<span :class="taxonomyType" > * </span>
|
||||
{{ $i18n.get('label_select_taxonomy') }}<span :class="taxonomyType"> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'taxonomy_id')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'taxonomy_id')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'taxonomy_id')" />
|
||||
</label>
|
||||
<b-select
|
||||
v-model="taxonomy_id"
|
||||
|
@ -35,7 +35,7 @@
|
|||
{{ $i18n.get('label_select_taxonomy_input_type') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'input_type')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'input_type')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'input_type')" />
|
||||
</label>
|
||||
<b-select
|
||||
v-if="listInputType"
|
||||
|
@ -79,7 +79,7 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'visible_options_list')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'visible_options_list')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'visible_options_list')" />
|
||||
</b-field>
|
||||
<b-field
|
||||
v-if="taxonomy_id && taxonomies.length && isTermCreationAllowedOnCurrentTaxonomy"
|
||||
|
@ -94,7 +94,7 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'allow_new_terms')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'allow_new_terms')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'allow_new_terms')" />
|
||||
</b-field>
|
||||
<b-field
|
||||
v-if="taxonomy_id && taxonomies.length"
|
||||
|
@ -109,14 +109,14 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'do_not_dispaly_term_as_link')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'do_not_dispaly_term_as_link')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'do_not_dispaly_term_as_link')" />
|
||||
</b-field>
|
||||
<b-field :addons="false">
|
||||
<label class="label">
|
||||
{{ $i18n.getHelperTitle('tainacan-taxonomy', 'link_filtered_by_collections') }}
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'link_filtered_by_collections')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'link_filtered_by_collections')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'link_filtered_by_collections')" />
|
||||
</label>
|
||||
<b-taginput
|
||||
:model-value="getSelectedTaxonomyCollections()"
|
||||
|
@ -142,7 +142,7 @@
|
|||
<img
|
||||
width="24"
|
||||
:alt="$i18n.get('label_thumbnail')"
|
||||
:src="$thumbHelper.getSrc(props.option['thumbnail'], 'tainacan-small')" >
|
||||
:src="$thumbHelper.getSrc(props.option['thumbnail'], 'tainacan-small')">
|
||||
</div>
|
||||
<div class="media-content">
|
||||
{{ props.option.name }}
|
||||
|
@ -166,7 +166,7 @@
|
|||
@update:model-value="emitValues()" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-taxonomy', 'hide_hierarchy_path')"
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'hide_hierarchy_path')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-taxonomy', 'hide_hierarchy_path')" />
|
||||
</b-field>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
:class="{ 'is-loading': isAddingNewTermVaue }"
|
||||
@click="openTermCreationModal">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('label_create_new_term') }}
|
||||
</a>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
@update:model-value="onUpdateDisplaySuggestions" />
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-text', 'display_suggestions')"
|
||||
:message="$i18n.getHelperMessage('tainacan-text', 'display_suggestions')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-text', 'display_suggestions')" />
|
||||
</b-field>
|
||||
<b-field :addons="false">
|
||||
<label class="label is-inline">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
@focus="onMobileSpecialFocus"
|
||||
@complete="($event) => getMask ? onInput($event.detail.value) : null"
|
||||
@input="($event) => getMask ? null : onInput($event.target.value)"
|
||||
@blur="onBlur" >
|
||||
@blur="onBlur">
|
||||
</div>
|
||||
<b-autocomplete
|
||||
v-else
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
name="maxlength"
|
||||
step="1"
|
||||
min="0"
|
||||
@input="onUpdateMaxlength"/>
|
||||
@input="onUpdateMaxlength" />
|
||||
</b-field>
|
||||
</section>
|
||||
</template>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $i18n.getHelperTitle('tainacan-user', 'default_author') }}<span> * </span>
|
||||
<help-button
|
||||
:title="$i18n.getHelperTitle('tainacan-user', 'default_author')"
|
||||
:message="$i18n.getHelperMessage('tainacan-user', 'default_author')"/>
|
||||
:message="$i18n.getHelperMessage('tainacan-user', 'default_author')" />
|
||||
</label>
|
||||
<b-checkbox
|
||||
v-model="defaultAuthor"
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<b-loading
|
||||
v-model="isLoadingActivity"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
<div
|
||||
v-if="!isLoadingActivity"
|
||||
class="modal-card-body">
|
||||
|
@ -75,7 +75,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ attachment.url ] },
|
||||
mime_type: attachment.mime_type,
|
||||
media_type: attachment.mime_type.includes('image') ? 'image' : 'other'
|
||||
}"/>
|
||||
}" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>{{ infoEmpty }}</p>
|
||||
|
@ -183,7 +183,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ attachment.url ] },
|
||||
mime_type: attachment.mime_type,
|
||||
media_type: attachment.mime_type.includes('image') ? 'image' : 'other'
|
||||
}"/>
|
||||
}" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>{{ infoEmpty }}</p>
|
||||
|
@ -271,7 +271,7 @@
|
|||
<img
|
||||
style="margin: 12px 0; max-width: 150px;"
|
||||
:alt="$i18n.get('label_thumbnail')"
|
||||
:src="activity.old_value.thumb[0]" >
|
||||
:src="activity.old_value.thumb[0]">
|
||||
</p>
|
||||
<p v-else>{{ infoEmpty }}</p>
|
||||
</div>
|
||||
|
@ -292,7 +292,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ activity.old_value.url ] },
|
||||
mime_type: activity.old_value.mime_type,
|
||||
media_type: activity.old_value.mime_type.includes('image') ? 'image' : 'other'
|
||||
}"/>
|
||||
}" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>{{ infoEmpty }}</p>
|
||||
|
@ -315,7 +315,7 @@
|
|||
<img
|
||||
style="margin: 12px 0; max-width: 150px;"
|
||||
:alt="$i18n.get('label_document')"
|
||||
:src="attributeValue[0]" >
|
||||
:src="attributeValue[0]">
|
||||
</p>
|
||||
<p
|
||||
v-else
|
||||
|
@ -413,7 +413,7 @@
|
|||
<img
|
||||
style="margin: 12px 0; max-width: 150px;"
|
||||
:alt="$i18n.get('label_thumbnail')"
|
||||
:src="activity.new_value.thumb[0]" >
|
||||
:src="activity.new_value.thumb[0]">
|
||||
</p>
|
||||
<p v-else>{{ infoEmpty }}</p>
|
||||
</div>
|
||||
|
@ -434,7 +434,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ activity.new_value.url ] },
|
||||
mime_type: activity.new_value.mime_type,
|
||||
media_type: activity.new_value.mime_type.includes('image') ? 'image' : 'other'
|
||||
}"/>
|
||||
}" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>{{ infoEmpty }}</p>
|
||||
|
@ -457,7 +457,7 @@
|
|||
<img
|
||||
style="margin: 12px 0; max-width: 150px;"
|
||||
:alt="$i18n.get('label_document')"
|
||||
:src="attributeValue[0]" >
|
||||
:src="attributeValue[0]">
|
||||
</p>
|
||||
<p
|
||||
v-else
|
||||
|
@ -520,7 +520,7 @@
|
|||
v-if="activity.terms && activity.terms.header_image"
|
||||
style="margin: 12px 0; max-width: 160px;"
|
||||
:alt="$i18n.get('label_header_image')"
|
||||
:src="activity.terms.header_image" >
|
||||
:src="activity.terms.header_image">
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</section>
|
||||
</div>
|
||||
</form>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</div>
|
||||
|
||||
<footer class="field is-grouped form-submit">
|
||||
|
|
|
@ -227,7 +227,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-gray4 tainacan-icon tainacan-icon-1-25em tainacan-icon-cancel"/>
|
||||
<i class="has-text-gray4 tainacan-icon tainacan-icon-1-25em tainacan-icon-cancel" />
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
@ -245,7 +245,7 @@
|
|||
shown: bulkEditionProcedures[criterion].tooltipShow
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-success tainacan-icon tainacan-icon-1-25em tainacan-icon-approvedcircle"/>
|
||||
<i class="has-text-success tainacan-icon tainacan-icon-1-25em tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -266,7 +266,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="has-text-gray4 tainacan-icon tainacan-icon-1-25em tainacan-icon-play"/>
|
||||
<i class="has-text-gray4 tainacan-icon tainacan-icon-1-25em tainacan-icon-play" />
|
||||
</span>
|
||||
</button>
|
||||
|
||||
|
@ -281,7 +281,7 @@
|
|||
class="has-text-right is-inline-block add-link"
|
||||
@click="addEditionCriterion()">
|
||||
<span class="icon is-small">
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add"/>
|
||||
<i class="tainacan-icon has-text-secondary tainacan-icon-add" />
|
||||
</span>
|
||||
{{ $i18n.get('new_bulk_edit_criterion') }}
|
||||
</a>
|
||||
|
|
|
@ -40,13 +40,13 @@
|
|||
<template v-if="existingRoles && Object.values(existingRoles).length && capability.roles">
|
||||
<b-field :addons="false">
|
||||
<label class="label is-inline">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alertcircle"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alertcircle" />
|
||||
{{ $i18n.get('label_inherited_roles') }}
|
||||
<help-button
|
||||
:title="$i18n.get('label_inherited_roles')"
|
||||
:message="$i18n.get('info_inherited_roles')"
|
||||
extra-classes="is-warning"
|
||||
forced-icon-color="yellow2"/>
|
||||
forced-icon-color="yellow2" />
|
||||
</label>
|
||||
<br>
|
||||
<div class="roles-list">
|
||||
|
|
|
@ -91,12 +91,12 @@
|
|||
<b-loading
|
||||
v-model="isLoadingMetadatumMappers"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<b-loading
|
||||
v-model="isCreatingCollectionPreset"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<footer class="field is-grouped form-submit">
|
||||
<div class="control">
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<footer class="field is-grouped form-submit">
|
||||
<div class="control">
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
target="_blank"
|
||||
@click="siteLinkCopied = true; copyTextToClipboard(itemURL ? itemURL : collectionURL)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url" />
|
||||
</span>
|
||||
</a>
|
||||
<div
|
||||
|
@ -86,7 +86,7 @@
|
|||
target="_blank"
|
||||
:href="itemURL ? itemURL : collectionURL">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -135,7 +135,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : !exposerMapper.collapsed, 'tainacan-icon-arrowright' : exposerMapper.collapsed }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<label
|
||||
v-tooltip="{
|
||||
|
@ -181,7 +181,7 @@
|
|||
}"
|
||||
@click="exposerMapper.linkCopied = pagedLink; copyTextToClipboard(getExposerFullURL(pagedLink, exposerMapper))">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-url" />
|
||||
</span>
|
||||
</a>
|
||||
<div
|
||||
|
@ -216,7 +216,7 @@
|
|||
target="_blank"
|
||||
:href="getExposerFullURL(pagedLink, exposerMapper)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-openurl" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -229,7 +229,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<footer class="field is-grouped form-submit">
|
||||
<div class="control">
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
v-model="localTextContent"
|
||||
aria-labelledby="item-document-text-modal-title"
|
||||
type="textarea"
|
||||
:autofocus="true"/>
|
||||
:autofocus="true" />
|
||||
|
||||
<div class="field is-grouped form-submit">
|
||||
<div class="control">
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<span
|
||||
v-else
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-repository"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-repository" />
|
||||
</span>
|
||||
</router-link>
|
||||
</li>
|
||||
|
@ -27,7 +27,7 @@
|
|||
:to="$routerHelper.getCollectionsPath()"
|
||||
:class="activeRoute == 'CollectionsPage' || $route.params.collectionId != undefined ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-collections"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-collections" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('collections', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -37,18 +37,18 @@
|
|||
:to="{name: 'RepositoryItemsPage' }"
|
||||
:class="activeRoute == 'RepositoryItemsPage' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('items', 'name') }}</span>
|
||||
</router-link>
|
||||
</li>
|
||||
<li class="separator"/>
|
||||
<li class="separator" />
|
||||
<li v-if="$userCaps.hasCapability('tnc_rep_edit_metadata') && !$adminOptions.hidePrimaryMenuMetadataButton">
|
||||
<router-link
|
||||
to="/metadata"
|
||||
:class="activeRoute == 'MetadataPage' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('metadata') }}</span>
|
||||
</router-link>
|
||||
|
@ -58,7 +58,7 @@
|
|||
to="/filters"
|
||||
:class="activeRoute == 'FiltersPage' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('filters', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -68,7 +68,7 @@
|
|||
to="/taxonomies"
|
||||
:class="activeRoute == 'Page' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-taxonomies"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-taxonomies" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('taxonomies', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -78,7 +78,7 @@
|
|||
to="/activities"
|
||||
:class="activeRoute == 'ActivitiesPage' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('activities') }}</span>
|
||||
</router-link>
|
||||
|
@ -90,7 +90,7 @@
|
|||
:to="$routerHelper.getCapabilitiesPath()"
|
||||
:class="activeRoute == 'CapabilitiesPage' ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('capabilities') }}</span>
|
||||
</router-link>
|
||||
|
@ -104,7 +104,7 @@
|
|||
activeRoute == 'ImporterCreationForm' ||
|
||||
activeRoute == 'ImporterMappingForm' ) ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-importers"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-importers" />
|
||||
</span>
|
||||
<span class="menu-text menu-text-import">{{ $i18n.get('importers') }}</span>
|
||||
</router-link>
|
||||
|
@ -116,7 +116,7 @@
|
|||
activeRoute == 'ExportersPage' ||
|
||||
activeRoute == 'ExporterEditionForm') ? 'is-active':''">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-export"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-export" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('exporters') }}</span>
|
||||
</router-link>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
class="button is-turquoise4"
|
||||
@click="navigate()">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</button>
|
||||
</router-link>
|
||||
|
@ -36,7 +36,7 @@
|
|||
class="button is-turquoise4"
|
||||
@click="navigate()">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</button>
|
||||
</router-link>
|
||||
|
@ -51,7 +51,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionItemsPath(collection.id, '') : '', query: activeRoute == 'CollectionItemsPage' ? $route.query : '' }"
|
||||
:aria-label="$i18n.get('label_collection_items')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-items" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('items') }}</span>
|
||||
</router-link>
|
||||
|
@ -64,7 +64,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionEditPath(collection.id) : '' }"
|
||||
:aria-label="$i18n.get('label_settings')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-settings" />
|
||||
</span>
|
||||
|
||||
<span class="menu-text">{{ $i18n.get('label_settings') }}</span>
|
||||
|
@ -78,7 +78,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionMetadataPath(collection.id) : '' }"
|
||||
:aria-label="$i18n.get('label_collection_metadata')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-metadata" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('metadata', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -91,7 +91,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionFiltersPath(collection.id) : ''}"
|
||||
:aria-label="$i18n.get('label_collection_filters')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('filters', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -104,7 +104,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionActivitiesPath(collection.id) : '' }"
|
||||
:aria-label="$i18n.get('label_collection_activities')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('activities') }}</span>
|
||||
</router-link>
|
||||
|
@ -117,7 +117,7 @@
|
|||
:to="{ path: collection && collection.id ? $routerHelper.getCollectionCapabilitiesPath(collection.id) : '' }"
|
||||
:aria-label="$i18n.get('label_collection_capabilities')">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-capability" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('capabilities') }}</span>
|
||||
</router-link>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tainacan-repository-header-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-home has-text-blue5"/>
|
||||
<i class="tainacan-icon tainacan-icon-home has-text-blue5" />
|
||||
</span>
|
||||
</router-link>
|
||||
</div>
|
||||
|
@ -46,7 +46,7 @@
|
|||
:aria-label="$i18n.get('search')"
|
||||
@click="$router.push($routerHelper.getItemsPath())">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-search"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-search" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -86,12 +86,12 @@
|
|||
popperClass: ['tainacan-tooltip', 'tainacan-repository-header-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-processes"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-processes" />
|
||||
</span>
|
||||
</button>
|
||||
<processes-popup
|
||||
v-if="showProcesses"
|
||||
@closeProcessesPopup="showProcesses = false"/>
|
||||
@closeProcessesPopup="showProcesses = false" />
|
||||
<a
|
||||
class="level-item"
|
||||
:href="wordpressAdmin"
|
||||
|
@ -104,7 +104,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tainacan-repository-header-tooltip', 'tooltip']
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-wordpress"/>
|
||||
<i class="tainacan-icon tainacan-icon-wordpress" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
:aria-label="$i18n.get('back')"
|
||||
@click="navigate()">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</button>
|
||||
</router-link>
|
||||
|
@ -65,7 +65,7 @@
|
|||
:aria-label="$i18n.get('exporters')"
|
||||
@click="openAvailableExportersModal">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-export"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-export" />
|
||||
</span>
|
||||
<span class="is-hidden-mobile">{{ $i18n.get('exporters') }}</span>
|
||||
</a>
|
||||
|
@ -78,7 +78,7 @@
|
|||
target="_blank"
|
||||
class="button">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="is-hidden-mobile">{{ $i18n.get('label_view_collection_on_website') }}</span>
|
||||
</a>
|
||||
|
@ -91,7 +91,7 @@
|
|||
target="_blank"
|
||||
class="button">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="is-hidden-mobile">{{ $i18n.get('label_view_taxonomies_on_website') }}</span>
|
||||
</a>
|
||||
|
@ -104,7 +104,7 @@
|
|||
target="_blank"
|
||||
class="button">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="is-hidden-mobile">{{ $i18n.get('label_view_collections_on_website') }}</span>
|
||||
</a>
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="previousSearchPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</a>
|
||||
<ul class="tainacan-modal-checkbox-list-body">
|
||||
|
@ -88,7 +88,7 @@
|
|||
</template>
|
||||
<b-loading
|
||||
v-model="isLoadingSearch"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</ul>
|
||||
<a
|
||||
v-if="!noMoreSearchPage"
|
||||
|
@ -96,7 +96,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="nextSearchPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-next" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -111,7 +111,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="previousPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</a>
|
||||
<ul
|
||||
|
@ -151,7 +151,7 @@
|
|||
</template>
|
||||
<b-loading
|
||||
v-model="isCheckboxListLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</ul>
|
||||
<a
|
||||
v-if="!noMorePage"
|
||||
|
@ -159,7 +159,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="nextPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-next" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -228,7 +228,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}">{{ option.total_children }}</span>
|
||||
<span class="icon is-pulled-right">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowright"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowright" />
|
||||
</span>
|
||||
</a>
|
||||
</b-field>
|
||||
|
@ -238,7 +238,7 @@
|
|||
class="tainacan-show-more"
|
||||
@click="getMoreOptions(finderColumn, key)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore" />
|
||||
</span>
|
||||
</div>
|
||||
<div
|
||||
|
@ -253,7 +253,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isColumnLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
|
||||
</b-tab-item>
|
||||
|
||||
|
@ -285,7 +285,7 @@
|
|||
<span class="icon is-medium">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-30px"
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }"/>
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ isTaxonomy ? $i18n.get('label_no_terms_selected') : $i18n.get('label_nothing_selected') }}</p>
|
||||
|
@ -293,7 +293,7 @@
|
|||
</section>
|
||||
<b-loading
|
||||
v-model="isSelectedTermsLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</div>
|
||||
</b-tab-item>
|
||||
</b-tabs>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
class="icon is-left has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-1-25em"
|
||||
:class="isTaxonomy ? 'tainacan-icon-taxonomies' : 'tainacan-icon-view-table'"/>
|
||||
:class="isTaxonomy ? 'tainacan-icon-taxonomies' : 'tainacan-icon-view-table'" />
|
||||
</span>
|
||||
</b-button>
|
||||
</p>
|
||||
|
@ -57,7 +57,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="previousSearchPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</a>
|
||||
<ul class="tainacan-modal-checkbox-list-body">
|
||||
|
@ -108,7 +108,7 @@
|
|||
</template>
|
||||
<b-loading
|
||||
v-model="isLoadingSearch"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</ul>
|
||||
<a
|
||||
v-if="!noMoreSearchPage"
|
||||
|
@ -116,7 +116,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="nextSearchPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-next" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -132,7 +132,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="previousPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-previous"/>
|
||||
<i class="tainacan-icon tainacan-icon-previous" />
|
||||
</span>
|
||||
</a>
|
||||
<ul class="tainacan-modal-checkbox-list-body">
|
||||
|
@ -168,7 +168,7 @@
|
|||
</li>
|
||||
<b-loading
|
||||
v-model="isCheckboxListLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</ul>
|
||||
<a
|
||||
v-if="!noMorePage"
|
||||
|
@ -176,7 +176,7 @@
|
|||
class="tainacan-checkbox-list-page-changer"
|
||||
@click="nextPage">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-next"/>
|
||||
<i class="tainacan-icon tainacan-icon-next" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -249,7 +249,7 @@
|
|||
popperClass: ['tainacan-tooltip', 'tooltip']
|
||||
}">{{ option.total_children }}</span>
|
||||
<span class="icon is-pulled-right">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowright"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowright" />
|
||||
</span>
|
||||
</a>
|
||||
</b-field>
|
||||
|
@ -259,7 +259,7 @@
|
|||
class="tainacan-show-more"
|
||||
@click="getMoreOptions(finderColumn, key)">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-showmore" />
|
||||
</span>
|
||||
</div>
|
||||
</li>
|
||||
|
@ -274,7 +274,7 @@
|
|||
<span class="icon is-medium">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-30px"
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }"/>
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ isTaxonomy ? $i18n.get('info_no_terms_found') : $i18n.get('label_nothing_selected') }}</p>
|
||||
|
@ -283,7 +283,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isColumnLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
|
||||
</b-tab-item>
|
||||
|
||||
|
@ -318,7 +318,7 @@
|
|||
<span class="icon is-medium">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-30px"
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }"/>
|
||||
:class="{ 'tainacan-icon-terms': isTaxonomy, 'tainacan-icon-metadata': !isTaxonomy }" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ isTaxonomy ? $i18n.get('label_no_terms_selected') : $i18n.get('label_nothing_selected') }}</p>
|
||||
|
@ -326,7 +326,7 @@
|
|||
</section>
|
||||
<b-loading
|
||||
v-model="isSelectedTermsLoading"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
</div>
|
||||
</b-tab-item>
|
||||
</b-tabs>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<i
|
||||
:style="{ color: icon == 'alert' ? 'var(--tainacan-red2)' : ( icon == 'approved' ? '#1a745c' : 'inherit' ) }"
|
||||
:class="'tainacan-icon-' + icon"
|
||||
class="tainacan-icon"/>
|
||||
class="tainacan-icon" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<div
|
||||
v-if="file.media_type == 'image'"
|
||||
class="image"
|
||||
:style="{ 'background-image': 'url(' + (file.thumbnails['tainacan-medium'] ? file.thumbnails['tainacan-medium'][0] : file.thumbnails['medium'][0]) + ')' }"/>
|
||||
:style="{ 'background-image': 'url(' + (file.thumbnails['tainacan-medium'] ? file.thumbnails['tainacan-medium'][0] : file.thumbnails['medium'][0]) + ')' }" />
|
||||
<div
|
||||
v-else
|
||||
:style="{ 'background-color': 'var(--tainacan-gray1)' }"
|
||||
|
@ -27,7 +27,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
:class="'tainacan-icon-' + getIconForMimeType(file.mime_type)"
|
||||
class="has-text-gray tainacan-icon tainacan-icon-36px"/>
|
||||
class="has-text-gray tainacan-icon tainacan-icon-36px" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
:class="'tainacan-icon-' + icon"
|
||||
class="tainacan-icon"/>
|
||||
class="tainacan-icon" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
@ -44,7 +44,7 @@
|
|||
min="1"
|
||||
:model-value="copyCount"
|
||||
step="1"
|
||||
@update:model-value="copyCount = $event"/>
|
||||
@update:model-value="copyCount = $event" />
|
||||
</b-field>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
:class="'tainacan-icon-' + icon"
|
||||
class="tainacan-icon"/>
|
||||
class="tainacan-icon" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
@ -42,7 +42,7 @@
|
|||
<span class="icon has-text-gray">
|
||||
<i
|
||||
class="tainacan-icon tainacan-icon-18px"
|
||||
:class="$statusHelper.getIcon(statusOption.slug)"/>
|
||||
:class="$statusHelper.getIcon(statusOption.slug)" />
|
||||
</span>
|
||||
{{ statusOption.name }}
|
||||
</b-radio>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown': showProcessesList,
|
||||
'tainacan-icon-arrowright': !showProcessesList }"
|
||||
class="tainacan-icon tainacan-icon-18px"/>
|
||||
class="tainacan-icon tainacan-icon-18px" />
|
||||
</span>
|
||||
</a>
|
||||
<span
|
||||
|
@ -22,7 +22,7 @@
|
|||
@click="bgProcesses.length > 0 ? showProcessesList = !showProcessesList : null">{{ getUnfinishedProcesses() + ' ' + $i18n.get('info_unfinished_processes') }}</span>
|
||||
<a @click="$emit('closeProcessesPopup')">
|
||||
<span class="icon has-text-blue5">
|
||||
<i class="tainacan-icon tainacan-icon-close"/>
|
||||
<i class="tainacan-icon tainacan-icon-close" />
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
|
@ -62,20 +62,20 @@
|
|||
v-if="bgProcess.status === 'running'"
|
||||
class="icon has-text-gray action-icon"
|
||||
@click="pauseProcess(index)">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-stop"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-stop" />
|
||||
</span>
|
||||
<span
|
||||
v-if="bgProcess.status === 'finished-errors'"
|
||||
class="icon has-text-success">
|
||||
<i
|
||||
style="margin-right: -5px;"
|
||||
class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alert has-text-yellow2"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em tainacan-icon-alert has-text-yellow2" />
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
<span
|
||||
v-if="bgProcess.status === 'finished' || bgProcess.status === null"
|
||||
class="icon has-text-success">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-approvedcircle" />
|
||||
</span>
|
||||
<span
|
||||
v-if="bgProcess.status === 'errored'"
|
||||
|
@ -132,7 +132,7 @@
|
|||
<div class="popup-footer">
|
||||
<span
|
||||
v-if="hasAnyProcessExecuting"
|
||||
class="icon has-text-blue5"><i class="tainacan-icon tainacan-icon-18px tainacan-icon-updating"/></span>
|
||||
class="icon has-text-blue5"><i class="tainacan-icon tainacan-icon-18px tainacan-icon-updating" /></span>
|
||||
<p class="footer-title">
|
||||
{{ hasAnyProcessExecuting ?
|
||||
(bgProcesses[0].progress_label ? bgProcesses[0].progress_label + ((bgProcesses[0].progress_value && bgProcesses[0].progress_value >= 0) ? ' - ' + bgProcesses[0].progress_value + '%' : '') : $i18n.get('label_no_details_of_process')):
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
style="color: var(--tainacan-red2);"
|
||||
class="tainacan-icon tainacan-icon-alert"/>
|
||||
class="tainacan-icon tainacan-icon-alert" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
style="color: var(--tainacan-blue5);"
|
||||
class="tainacan-icon tainacan-icon-taxonomies"/>
|
||||
class="tainacan-icon tainacan-icon-taxonomies" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<span class="icon is-large">
|
||||
<i
|
||||
style="color: var(--tainacan-blue5);"
|
||||
class="tainacan-icon tainacan-icon-taxonomies"/>
|
||||
class="tainacan-icon tainacan-icon-taxonomies" />
|
||||
</span>
|
||||
</div>
|
||||
<section
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
:placeholder="dateFormat"
|
||||
type="text"
|
||||
:aria-label="$i18n.get('label_date_to_search_for')"
|
||||
@input="addValueToAdvancedSearchQuery($event.target.value, searchCriterion)" >
|
||||
@input="addValueToAdvancedSearchQuery($event.target.value, searchCriterion)">
|
||||
<b-input
|
||||
v-else
|
||||
type="text"
|
||||
|
@ -155,7 +155,7 @@
|
|||
placement: 'auto-end'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-cancel"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-cancel" />
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
|
@ -169,7 +169,7 @@
|
|||
role="button"
|
||||
@click="addSearchCriteria">
|
||||
<span class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-add"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-add" />
|
||||
</span>
|
||||
{{ searchCriteria.length <= 0 ?
|
||||
$i18n.get('add_one_search_criterion') :
|
||||
|
@ -181,7 +181,7 @@
|
|||
role="button"
|
||||
@click="clearSearch();">
|
||||
<span class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-remove"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-remove" />
|
||||
</span>
|
||||
{{ $i18n.get('label_remove_all_criteria') }}
|
||||
</a>
|
||||
|
@ -221,7 +221,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
:aria-busy="isLoadingFilters">
|
||||
<b-loading
|
||||
v-model="isLoadingFilters"
|
||||
:is-full-page="false"/>
|
||||
:is-full-page="false" />
|
||||
|
||||
<h3
|
||||
id="filters-label-landmark"
|
||||
class="has-text-weight-semibold">
|
||||
<span class="gray-icon is-hidden">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-filters" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('filters') }}</span>
|
||||
</h3>
|
||||
|
@ -26,7 +26,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowdown' : !collapseAll, 'tainacan-icon-arrowright' : collapseAll }"
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em"/>
|
||||
class="has-text-secondary tainacan-icon tainacan-icon-1-125em" />
|
||||
</span>
|
||||
<span class="collapse-all__text">
|
||||
{{ !collapseAll ? $i18n.get('label_collapse_all') : $i18n.get('label_expand_all') }}
|
||||
|
@ -86,7 +86,7 @@
|
|||
:expand-all="!collapseAll"
|
||||
:is-repository-level="key == 'repository-filters'"
|
||||
:filters-as-modal="filtersAsModal"
|
||||
:is-mobile-screen="isMobileScreen"/>
|
||||
:is-mobile-screen="isMobileScreen" />
|
||||
</template>
|
||||
<hr v-if="taxonomyFilter.length > 1">
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
</div>
|
||||
<div
|
||||
class="filter-tag-metadatum-value"
|
||||
v-html="filterTag.singleLabel != undefined ? filterTag.singleLabel : filterTag.label"/>
|
||||
v-html="filterTag.singleLabel != undefined ? filterTag.singleLabel : filterTag.label" />
|
||||
</span>
|
||||
<a
|
||||
v-if="filterTag.filterId || filterTag.argType == 'postin'"
|
||||
|
@ -50,10 +50,10 @@
|
|||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24">
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
|
@ -63,10 +63,10 @@
|
|||
width="24"
|
||||
height="24"
|
||||
viewBox="0 0 24 24">
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -73,7 +73,7 @@
|
|||
class="button is-white">
|
||||
<span>{{ page }}</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
</button>
|
||||
</template>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<template>
|
||||
<div class="home-page page-container">
|
||||
<b-loading v-model="isLoadingCollections"/>
|
||||
<b-loading v-model="isLoadingCollections" />
|
||||
<section
|
||||
v-if="!$adminOptions.hideHomeRepositorySection"
|
||||
class="home-section home-section-repository">
|
||||
<div
|
||||
v-if="!$adminOptions.hideHomeCollectionsSection"
|
||||
class="section-connector"
|
||||
aria-hidden/>
|
||||
aria-hidden />
|
||||
<div class="home-section-header repository-section-header">
|
||||
<div class="home-section-icon">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-repository"/>
|
||||
<i class="tainacan-icon tainacan-icon-repository" />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
target="_blank"
|
||||
:href="themeItemsListURL">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('label_view_items_on_theme') }}</span>
|
||||
</a>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<router-link
|
||||
to="/metadata">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('title_repository_metadata_page' ) }}</span>
|
||||
</router-link>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<router-link
|
||||
to="/filters">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('title_repository_filters_page') }}</span>
|
||||
</router-link>
|
||||
|
@ -68,7 +68,7 @@
|
|||
<router-link
|
||||
to="/taxonomies">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-taxonomies"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-taxonomies" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.getFrom('taxonomies', 'name') }}</span>
|
||||
</router-link>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<router-link
|
||||
to="/activities">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-activities" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('title_repository_activities_page') }}</span>
|
||||
</router-link>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<router-link
|
||||
to="/importers">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-importers"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-importers" />
|
||||
</span>
|
||||
<span class="menu-text menu-text-import">{{ $i18n.get('importers') }}</span>
|
||||
</router-link>
|
||||
|
@ -95,7 +95,7 @@
|
|||
<router-link
|
||||
to="/exporters">
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-export"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-export" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('exporters') }}</span>
|
||||
</router-link>
|
||||
|
@ -110,7 +110,7 @@
|
|||
<div
|
||||
v-if="!$adminOptions.hideHomeRepositorySection"
|
||||
class="collection-section-connector"
|
||||
aria-hidden/>
|
||||
aria-hidden />
|
||||
<div class="home-section-header collections-section-header">
|
||||
<div class="home-section-icon">
|
||||
<router-link
|
||||
|
@ -120,7 +120,7 @@
|
|||
<span
|
||||
class="icon"
|
||||
@click="navigate()">
|
||||
<i class="tainacan-icon tainacan-icon-collections"/>
|
||||
<i class="tainacan-icon tainacan-icon-collections" />
|
||||
</span>
|
||||
</router-link>
|
||||
</div>
|
||||
|
@ -131,7 +131,7 @@
|
|||
:href="themeCollectionListURL"
|
||||
style="position: relative">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span class="menu-text">{{ $i18n.get('label_view_collections_on_theme') }}</span>
|
||||
</a>
|
||||
|
@ -139,13 +139,13 @@
|
|||
<collections-home-list
|
||||
:is-loading="isLoadingCollections"
|
||||
:collections="collections"
|
||||
:collections-total="collectionsTotal"/>
|
||||
:collections-total="collectionsTotal" />
|
||||
<router-link
|
||||
v-if="!$adminOptions.hideHomeCollectionsButton"
|
||||
class="collections-see-more"
|
||||
to="/collections">
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewtable"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewtable" />
|
||||
</span>
|
||||
<span
|
||||
v-if="collectionsTotal > 1"
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
}">
|
||||
<tainacan-title
|
||||
v-if="!isItemLevel"
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('activities') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('activities') }]" />
|
||||
<header
|
||||
v-else
|
||||
class="tainacan-modal-title">
|
||||
|
@ -34,7 +34,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="false"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<div
|
||||
v-if="tab != 'processes'"
|
||||
|
@ -74,14 +74,14 @@
|
|||
$i18n.get('datepicker_month_november'),
|
||||
$i18n.get('datepicker_month_december')
|
||||
]"
|
||||
@update:model-value="searchActivities()"/>
|
||||
@update:model-value="searchActivities()" />
|
||||
<p
|
||||
v-if="searchDates && searchDates.length != 0"
|
||||
class="control">
|
||||
<button
|
||||
class="button"
|
||||
@click="clearSearchDates()">
|
||||
<span class="icon"><i class="tainacan-icon tainacan-icon-close"/></span>
|
||||
<span class="icon"><i class="tainacan-icon tainacan-icon-close" /></span>
|
||||
</button>
|
||||
</p>
|
||||
</b-field>
|
||||
|
@ -184,7 +184,7 @@
|
|||
<button
|
||||
class="button"
|
||||
@click="clearSearchDates()">
|
||||
<span class="icon"><i class="tainacan-icon tainacan-icon-close"/></span>
|
||||
<span class="icon"><i class="tainacan-icon tainacan-icon-close" /></span>
|
||||
</button>
|
||||
</p>
|
||||
</b-field>
|
||||
|
@ -210,13 +210,13 @@
|
|||
:total-activities="totalActivities"
|
||||
:page="activitiesPage"
|
||||
:activities-per-page="activitiesPerPage"
|
||||
:activities="activities"/>
|
||||
:activities="activities" />
|
||||
<template v-if="tab != 'processes' && !$userCaps.hasCapability('tnc_rep_read_logs')">
|
||||
<section class="section">
|
||||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_read_activities') }}</p>
|
||||
|
@ -239,7 +239,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-activities" />
|
||||
</span>
|
||||
</p>
|
||||
<p v-if="status == undefined || status == ''">{{ $i18n.get('info_no_process') }}</p>
|
||||
|
@ -286,7 +286,7 @@
|
|||
:aria-previous-label="$i18n.get('label_previous_page')"
|
||||
:aria-page-label="$i18n.get('label_page')"
|
||||
:aria-current-label="$i18n.get('label_current_page')"
|
||||
@change="onPageChange"/>
|
||||
@change="onPageChange" />
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
@ -327,7 +327,7 @@
|
|||
:aria-previous-label="$i18n.get('label_previous_page')"
|
||||
:aria-page-label="$i18n.get('label_page')"
|
||||
:aria-current-label="$i18n.get('label_current_page')"
|
||||
@change="onPageChange"/>
|
||||
@change="onPageChange" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
'page-container': isRepositoryLevel
|
||||
}">
|
||||
<tainacan-title
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('capabilities') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('capabilities') }]" />
|
||||
|
||||
<div class="sub-header">
|
||||
<b-field
|
||||
|
@ -29,19 +29,19 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="true"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<capabilities-list
|
||||
v-if="(isRepositoryLevel && $userCaps.hasCapability('tnc_rep_edit_users')) || (!isRepositoryLevel && collection && collection.current_user_can_edit_users)"
|
||||
:is-loading="isLoading || isFetchingRoles"
|
||||
:capabilities="capabilities"/>
|
||||
:capabilities="capabilities" />
|
||||
|
||||
<template v-else-if="(isRepositoryLevel && !$userCaps.hasCapability('tnc_rep_edit_users')) || (!isRepositoryLevel && collection && !collection.current_user_can_edit_users)">
|
||||
<section class="section">
|
||||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-user"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-user" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_capabilities') }}</p>
|
||||
|
@ -55,7 +55,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-user"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-user" />
|
||||
</span>
|
||||
</p>
|
||||
<p>
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
<template>
|
||||
<div class="repository-level-page page-container">
|
||||
<b-loading v-model="isLoading"/>
|
||||
<b-loading v-model="isLoading" />
|
||||
<tainacan-title
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('collections') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('collections') }]" />
|
||||
<div class="sub-header">
|
||||
|
||||
<!-- New Collection button -->
|
||||
|
@ -144,7 +144,7 @@
|
|||
class="icon is-small gray-icon">
|
||||
<i
|
||||
:class="order == 'desc' ? 'tainacan-icon-sortdescending' : 'tainacan-icon-sortascending'"
|
||||
class="tainacan-icon tainacan-icon-1-125em"/>
|
||||
class="tainacan-icon tainacan-icon-1-125em" />
|
||||
</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
|
@ -159,7 +159,7 @@
|
|||
aria-role="listitem"
|
||||
style="padding-bottom: 0.45em">
|
||||
<span class="icon is-small gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortdescending"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortdescending" />
|
||||
</span>
|
||||
{{ $i18n.get('label_descending') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -171,7 +171,7 @@
|
|||
aria-role="listitem"
|
||||
style="padding-bottom: 0.45em">
|
||||
<span class="icon is-small gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortascending"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortascending" />
|
||||
</span>
|
||||
{{ $i18n.get('label_ascending') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -374,7 +374,7 @@
|
|||
:aria-previous-label="$i18n.get('label_previous_page')"
|
||||
:aria-page-label="$i18n.get('label_page')"
|
||||
:aria-current-label="$i18n.get('label_current_page')"
|
||||
@change="onPageChange"/>
|
||||
@change="onPageChange" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<template>
|
||||
<div :class="{ 'repository-level-page page-container': isRepositoryLevel }">
|
||||
<tainacan-title :bread-crumb-items="[{ path: '', label: $i18n.get('filters') }]"/>
|
||||
<tainacan-title :bread-crumb-items="[{ path: '', label: $i18n.get('filters') }]" />
|
||||
|
||||
<template v-if="isRepositoryLevel">
|
||||
<p>{{ $i18n.get('info_repository_filters_inheritance') }}</p>
|
||||
|
@ -8,7 +8,7 @@
|
|||
</template>
|
||||
|
||||
<div class="filters-list-page">
|
||||
<b-loading v-model="isLoadingMetadatumTypes"/>
|
||||
<b-loading v-model="isLoadingMetadatumTypes" />
|
||||
|
||||
<div
|
||||
v-if="(isRepositoryLevel && $userCaps.hasCapability('tnc_rep_edit_filters') || (!isRepositoryLevel && collection && collection.current_user_can_edit_filters))"
|
||||
|
@ -41,7 +41,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-filters" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_filter' ) }}</p>
|
||||
|
@ -116,8 +116,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
|
@ -144,7 +144,7 @@
|
|||
placement: 'auto-start'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-private"/>
|
||||
<i class="tainacan-icon tainacan-icon-private" />
|
||||
</span>
|
||||
<span
|
||||
v-tooltip="{
|
||||
|
@ -167,7 +167,7 @@
|
|||
</span>
|
||||
<span
|
||||
v-if="filter.id == undefined"
|
||||
class="loading-spinner"/>
|
||||
class="loading-spinner" />
|
||||
<span
|
||||
v-if="filter.filter_type != undefined"
|
||||
class="controls">
|
||||
|
@ -176,7 +176,7 @@
|
|||
:disabled="isUpdatingFiltersOrder"
|
||||
size="is-small"
|
||||
:model-value="filter.enabled"
|
||||
@update:model-value="onChangeEnable($event, index)"/>
|
||||
@update:model-value="onChangeEnable($event, index)" />
|
||||
<a
|
||||
v-if="filter.current_user_can_delete"
|
||||
:style="{ visibility: filter.collection_id != collectionId && !isRepositoryLevel? 'hidden' : 'visible' }"
|
||||
|
@ -189,7 +189,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -204,7 +204,7 @@
|
|||
placement: 'bottom'
|
||||
}"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-delete" />
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
|
@ -218,7 +218,7 @@
|
|||
@onEditionFinished="onEditionFinished()"
|
||||
@onEditionCanceled="onEditionCanceled()"
|
||||
@onErrorFound="formWithErrors = filter.id"
|
||||
@onUpdateSavedState="(state) => editForms[filter.id].saved = state"/>
|
||||
@onUpdateSavedState="(state) => editForms[filter.id].saved = state" />
|
||||
</b-field>
|
||||
</transition>
|
||||
</div>
|
||||
|
@ -245,7 +245,7 @@
|
|||
</b-field>
|
||||
</template>
|
||||
</div>
|
||||
<div class="field" >
|
||||
<div class="field">
|
||||
|
||||
<sortable
|
||||
v-if="availableMetadata.length > 0 && !isLoadingMetadatumTypes"
|
||||
|
@ -290,8 +290,8 @@
|
|||
fill="currentColor">
|
||||
<path
|
||||
d="M0 0h24v24H0V0z"
|
||||
fill="transparent"/>
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/>
|
||||
fill="transparent" />
|
||||
<path d="M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
||||
</svg>
|
||||
</span>
|
||||
<span
|
||||
|
@ -335,7 +335,7 @@
|
|||
<div class="content has-text-gray has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-36px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_there_is_no_metadatum' ) }}</p>
|
||||
|
@ -364,7 +364,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-filters"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-filters" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_filters') }}</p>
|
||||
|
@ -422,13 +422,13 @@
|
|||
class="field">
|
||||
<span class="collapse-handle">
|
||||
<span class="icon">
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown"/>
|
||||
<i class="has-text-secondary tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
</span>
|
||||
<label class="label has-tooltip">
|
||||
{{ currentFilterTypePreview.name }}
|
||||
</label>
|
||||
</span>
|
||||
<div v-html="currentFilterTypePreview.template"/>
|
||||
<div v-html="currentFilterTypePreview.template" />
|
||||
</div>
|
||||
<span
|
||||
v-else
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<!-- PAGE TITLE --------------------- -->
|
||||
<tainacan-title
|
||||
v-if="!$adminOptions.hideItemsListPageTitle"
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('items') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('items') }]" />
|
||||
|
||||
<!-- SEARCH CONTROL ------------------------- -->
|
||||
<div
|
||||
|
@ -48,7 +48,7 @@
|
|||
<span class="icon">
|
||||
<i
|
||||
:class="{ 'tainacan-icon-arrowleft' : isFiltersModalActive, 'tainacan-icon-arrowright' : !isFiltersModalActive }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
</span>
|
||||
<span class="text is-hidden-tablet">{{ $i18n.get('filters') }}</span>
|
||||
</button>
|
||||
|
@ -82,7 +82,7 @@
|
|||
<b-dropdown-item
|
||||
:focusable="false"
|
||||
@click="updateSearch()">
|
||||
<span v-html="$i18n.get('instruction_press_enter_to_search_for')"/>
|
||||
<span v-html="$i18n.get('instruction_press_enter_to_search_for')" />
|
||||
<em>{{ sentenceMode == true ? futureSearchQuery : ('"' + futureSearchQuery + '"') }}.</em>
|
||||
</b-dropdown-item>
|
||||
<b-dropdown-item
|
||||
|
@ -171,7 +171,7 @@
|
|||
<div
|
||||
id="a-create-item"
|
||||
role="link"
|
||||
@click="navigate()" >
|
||||
@click="navigate()">
|
||||
{{ $i18n.get('add_one_item') }}
|
||||
</div>
|
||||
</router-link>
|
||||
|
@ -291,7 +291,7 @@
|
|||
<span class="icon is-small gray-icon">
|
||||
<i
|
||||
:class="order == 'DESC' ? 'tainacan-icon-sortdescending' : 'tainacan-icon-sortascending'"
|
||||
class="tainacan-icon"/>
|
||||
class="tainacan-icon" />
|
||||
</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
|
@ -305,7 +305,7 @@
|
|||
:value="'DESC'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-sortdescending"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-sortdescending" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_descending') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -316,7 +316,7 @@
|
|||
:value="'ASC'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-sortascending"/>
|
||||
<i class="tainacan-icon tainacan-icon-18px tainacan-icon-sortascending" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_ascending') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -390,7 +390,7 @@
|
|||
'tainacan-icon-viewrecords' : adminViewMode == 'records',
|
||||
'tainacan-icon-viewlist' : adminViewMode == 'list',
|
||||
'tainacan-icon-viewmasonry' : adminViewMode == 'masonry' }"
|
||||
class="tainacan-icon tainacan-icon-1-25em"/>
|
||||
class="tainacan-icon tainacan-icon-1-25em" />
|
||||
<svg
|
||||
v-else
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
@ -412,7 +412,7 @@
|
|||
:value="'table'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewtable"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewtable" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_table') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -423,7 +423,7 @@
|
|||
:value="'cards'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewcards"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewcards" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_cards') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -435,7 +435,7 @@
|
|||
:value="'grid'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewminiature"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewminiature" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_thumbnails') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -446,7 +446,7 @@
|
|||
:value="'records'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewrecords"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewrecords" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_records') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -458,7 +458,7 @@
|
|||
:value="'masonry'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewmasonry"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewmasonry" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_masonry') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -469,7 +469,7 @@
|
|||
:value="'list'"
|
||||
aria-role="listitem">
|
||||
<span class="icon gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-viewlist"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewlist" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_list') }}</span>
|
||||
</b-dropdown-item>
|
||||
|
@ -505,7 +505,7 @@
|
|||
:disabled="totalItems == undefined || totalItems <= 0"
|
||||
@click="openExposersModal()">
|
||||
<span class="gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas" />
|
||||
</span>
|
||||
<span class="is-hidden-tablet-only is-hidden-desktop-only">{{ $i18n.get('label_view_as') }}</span>
|
||||
</button>
|
||||
|
@ -535,7 +535,7 @@
|
|||
role="dialog"
|
||||
:collection-id="collectionId + ''"
|
||||
:is-repository-level="isRepositoryLevel"
|
||||
@updateIsLoadingItemsState="(state) => isLoadingItems = state"/>
|
||||
@updateIsLoadingItemsState="(state) => isLoadingItems = state" />
|
||||
</b-modal>
|
||||
|
||||
<!-- ITEMS LIST AREA (ASIDE THE ASIDE) ------------------------- -->
|
||||
|
@ -561,7 +561,7 @@
|
|||
<!-- STATUS TABS, only on Admin -------- -->
|
||||
<items-status-tabs
|
||||
v-if="!$adminOptions.hideItemsListStatusTabs"
|
||||
:is-repository-level="isRepositoryLevel"/>
|
||||
:is-repository-level="isRepositoryLevel" />
|
||||
|
||||
<!-- FILTERS TAG LIST-->
|
||||
<filters-tags-list
|
||||
|
@ -589,7 +589,7 @@
|
|||
<!-- Default loading, to be used view modes without any skeleton-->
|
||||
<b-loading
|
||||
:is-full-page="false"
|
||||
:model-value="showLoading"/>
|
||||
:model-value="showLoading" />
|
||||
|
||||
</div>
|
||||
|
||||
|
@ -615,7 +615,7 @@
|
|||
<button
|
||||
class="button icon"
|
||||
@click="hasAnOpenAlert = false">
|
||||
<i class="tainacan-icon tainacan-icon-close"/>
|
||||
<i class="tainacan-icon tainacan-icon-close" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -631,7 +631,7 @@
|
|||
:is-on-trash="status == 'trash'"
|
||||
:view-mode="adminViewMode"
|
||||
:is-repository-level="isRepositoryLevel"
|
||||
@updateIsLoading="(newIsLoadingState) => isLoadingItems = newIsLoadingState"/>
|
||||
@updateIsLoading="(newIsLoadingState) => isLoadingItems = newIsLoadingState" />
|
||||
|
||||
<!-- Empty Placeholder -->
|
||||
<section
|
||||
|
@ -697,7 +697,7 @@
|
|||
<div ref="items-pagination">
|
||||
<pagination
|
||||
v-if="totalItems > 0"
|
||||
:is-sorting-by-custom-metadata="isSortingByCustomMetadata"/>
|
||||
:is-sorting-by-custom-metadata="isSortingByCustomMetadata" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
:class="{ 'repository-level-page page-container': isRepositoryLevel }"
|
||||
style="padding-bottom: 0;">
|
||||
<tainacan-title
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('metadata') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('metadata') }]" />
|
||||
|
||||
<template v-if="isRepositoryLevel">
|
||||
<p>{{ $i18n.get('info_repository_metadata_inheritance') }}</p>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<metadata-types-list
|
||||
:highlighted-metadatum="highlightedMetadatum"
|
||||
:is-repository-level="isRepositoryLevel"
|
||||
@onFinishedLoadingMetadataTypes="createMetadataTypeFilterOptions"/>
|
||||
@onFinishedLoadingMetadataTypes="createMetadataTypeFilterOptions" />
|
||||
</div>
|
||||
</b-tab-item>
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
|||
<b-tab-item :label="$i18n.get('mapping')">
|
||||
<metadata-mapping-list
|
||||
v-if="activeTab == 1"
|
||||
:is-repository-level="isRepositoryLevel"/>
|
||||
:is-repository-level="isRepositoryLevel" />
|
||||
</b-tab-item>
|
||||
</b-tabs>
|
||||
|
||||
|
@ -49,7 +49,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-metadata" />
|
||||
</span>
|
||||
</p>
|
||||
<p>{{ $i18n.get('info_can_not_edit_metadata') }}</p>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div>
|
||||
<div class="repository-level-page page-container">
|
||||
<tainacan-title
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('taxonomies') }]"/>
|
||||
:bread-crumb-items="[{ path: '', label: $i18n.get('taxonomies') }]" />
|
||||
<div class="sub-header">
|
||||
|
||||
<!-- New Taxonomy Button ---- -->
|
||||
|
@ -42,7 +42,7 @@
|
|||
class="icon is-small gray-icon">
|
||||
<i
|
||||
:class="order == 'desc' ? 'tainacan-icon-sortdescending' : 'tainacan-icon-sortascending'"
|
||||
class="tainacan-icon tainacan-icon-1-125em"/>
|
||||
class="tainacan-icon tainacan-icon-1-125em" />
|
||||
</span>
|
||||
<span class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-arrowdown" />
|
||||
|
@ -57,7 +57,7 @@
|
|||
aria-role="listitem"
|
||||
style="padding-bottom: 0.45em">
|
||||
<span class="icon is-small gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortdescending"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortdescending" />
|
||||
</span>
|
||||
{{ $i18n.get('label_descending') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -69,7 +69,7 @@
|
|||
aria-role="listitem"
|
||||
style="padding-bottom: 0.45em">
|
||||
<span class="icon is-small gray-icon">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortascending"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-sortascending" />
|
||||
</span>
|
||||
{{ $i18n.get('label_ascending') }}
|
||||
</b-dropdown-item>
|
||||
|
@ -114,7 +114,7 @@
|
|||
<b-loading
|
||||
v-model="isLoading"
|
||||
:is-full-page="true"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li
|
||||
|
@ -165,7 +165,7 @@
|
|||
:status="status"
|
||||
:page="page"
|
||||
:taxonomies-per-page="taxonomiesPerPage"
|
||||
:taxonomies="taxonomies"/>
|
||||
:taxonomies="taxonomies" />
|
||||
|
||||
<!-- Empty state image -->
|
||||
<div v-if="taxonomies.length <= 0 && !isLoading">
|
||||
|
@ -173,7 +173,7 @@
|
|||
<div class="content has-text-grey has-text-centered">
|
||||
<p>
|
||||
<span class="icon is-medium">
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-terms"/>
|
||||
<i class="tainacan-icon tainacan-icon-30px tainacan-icon-terms" />
|
||||
</span>
|
||||
</p>
|
||||
<p v-if="status == undefined || status == ''">{{ $i18n.get('info_no_taxonomy_created') }}</p>
|
||||
|
@ -236,7 +236,7 @@
|
|||
:aria-previous-label="$i18n.get('label_previous_page')"
|
||||
:aria-page-label="$i18n.get('label_page')"
|
||||
:aria-current-label="$i18n.get('label_current_page')"
|
||||
@change="onPageChange"/>
|
||||
@change="onPageChange" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
:class="{
|
||||
'page-container-small': !$adminOptions.hideRepositorySubheader && !$adminOptions.hideCollectionSubheader,
|
||||
'is-loading-collection-basics': isLoadingCollectionBasics
|
||||
}"/>
|
||||
}" />
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div>
|
||||
<b-loading
|
||||
v-model="isLoading"
|
||||
:can-cancel="false"/>
|
||||
:can-cancel="false" />
|
||||
|
||||
<tainacan-title
|
||||
v-if="!$adminOptions.hideItemSinglePageTitle"
|
||||
|
@ -43,7 +43,7 @@
|
|||
<div
|
||||
id="view-item-begin-right"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginRightForm"/>
|
||||
v-html="getBeginRightForm" />
|
||||
</template>
|
||||
|
||||
<div class="b-tabs">
|
||||
|
@ -91,7 +91,7 @@
|
|||
<div class="metadata-section-header section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-metadata"/>
|
||||
<i class="tainacan-icon tainacan-icon-metadata" />
|
||||
</span>
|
||||
{{ metadataSection.name }}
|
||||
<span
|
||||
|
@ -135,7 +135,7 @@
|
|||
itemMetadatum.metadatum.metadata_type_object.options.display_related_item_metadata &&
|
||||
itemMetadatum.metadatum.metadata_type_object.options.display_related_item_metadata.length > 1
|
||||
) ? 'div' : 'p'"
|
||||
v-html="itemMetadatum.value_as_html != '' ? itemMetadatum.value_as_html : `<p><span class='has-text-gray is-italic'>` + $i18n.get('label_value_not_provided') + `</span></p>`"/>
|
||||
v-html="itemMetadatum.value_as_html != '' ? itemMetadatum.value_as_html : `<p><span class='has-text-gray is-italic'>` + $i18n.get('label_value_not_provided') + `</span></p>`" />
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
|
@ -148,7 +148,7 @@
|
|||
<div
|
||||
id="view-item-end-right"
|
||||
class="form-hook-region"
|
||||
v-html="getEndRightForm"/>
|
||||
v-html="getEndRightForm" />
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
@ -188,7 +188,7 @@
|
|||
<div
|
||||
id="view-item-begin-left"
|
||||
class="form-hook-region"
|
||||
v-html="getBeginLeftForm"/>
|
||||
v-html="getBeginLeftForm" />
|
||||
</template>
|
||||
|
||||
<!-- Document -------------------------------- -->
|
||||
|
@ -197,7 +197,7 @@
|
|||
class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4 tainacan-icon-1-125em">
|
||||
<i :class="'tainacan-icon tainacan-icon-' + ( (!item.document_type || item.document_type == 'empty' ) ? 'item' : (item.document_type == 'attachment' ? 'attachments' : item.document_type))"/>
|
||||
<i :class="'tainacan-icon tainacan-icon-' + ( (!item.document_type || item.document_type == 'empty' ) ? 'item' : (item.document_type == 'attachment' ? 'attachments' : item.document_type))" />
|
||||
</span>
|
||||
{{ collection && collection.item_document_label ? collection.item_document_label : ( (item.document != undefined && item.document != null && item.document != '') ? $i18n.get('label_document') : $i18n.get('label_document_empty') ) }}
|
||||
</label>
|
||||
|
@ -211,7 +211,7 @@
|
|||
item.document !== '' && item.document_type !== 'empty'"
|
||||
class="document-field-content"
|
||||
:class="'document-field-content--' + item.document_type">
|
||||
<div v-html="item.document_as_html"/>
|
||||
<div v-html="item.document_as_html" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<p>{{ $i18n.get('info_no_document_to_item') }}</p>
|
||||
|
@ -223,7 +223,7 @@
|
|||
class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-image"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-image" />
|
||||
</span>
|
||||
{{ collection && collection.item_thumbnail_label ? collection.item_thumbnail_label : $i18n.get('label_thumbnail') }}
|
||||
</label>
|
||||
|
@ -242,7 +242,7 @@
|
|||
thumbnails: { 'tainacan-medium': [ $thumbHelper.getSrc(item['thumbnail'], 'tainacan-medium', item.document_mimetype) ] },
|
||||
title: $i18n.get('label_thumbnail'),
|
||||
description: `<img alt='` + $i18n.get('label_thumbnail') + `' src='` + $thumbHelper.getSrc(item['thumbnail'], 'full', item.document_mimetype) + `'/>`
|
||||
}"/>
|
||||
}" />
|
||||
<figure
|
||||
v-if="item.thumbnail == undefined || ((item.thumbnail.medium == undefined || item.thumbnail.medium == false) && (item.thumbnail['tainacan-medium'] == undefined || item.thumbnail['tainacan-medium'] == false))"
|
||||
class="image">
|
||||
|
@ -263,7 +263,7 @@
|
|||
<label class="label">{{ $i18n.get('label_thumbnail_alt') }}</label>
|
||||
<help-button
|
||||
:title="$i18n.get('label_thumbnail_alt')"
|
||||
:message="$i18n.get('info_thumbnail_alt')"/>
|
||||
:message="$i18n.get('info_thumbnail_alt')" />
|
||||
<p> {{ item.thumbnail_alt }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -274,7 +274,7 @@
|
|||
class="section-label">
|
||||
<label>
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-attachments"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-125em tainacan-icon-attachments" />
|
||||
</span>
|
||||
<span>
|
||||
{{ collection && collection.item_attachment_label ? collection.item_attachment_label : $i18n.get('label_attachments') }}
|
||||
|
@ -300,7 +300,7 @@
|
|||
<div
|
||||
id="view-item-end-left"
|
||||
class="form-hook-region"
|
||||
v-html="getEndLeftForm"/>
|
||||
v-html="getEndLeftForm" />
|
||||
</template>
|
||||
|
||||
</div>
|
||||
|
@ -322,7 +322,7 @@
|
|||
<span class="icon has-text-gray4">
|
||||
<i
|
||||
v-if="itemVisibility == 'open_access'"
|
||||
class="tainacan-icon tainacan-icon-see"/>
|
||||
class="tainacan-icon tainacan-icon-see" />
|
||||
<i
|
||||
v-else
|
||||
class="tainacan-icon tainacan-icon-svg"
|
||||
|
@ -364,7 +364,7 @@
|
|||
class="column is-narrow">
|
||||
<div class="section-label">
|
||||
<span class="icon has-text-gray4">
|
||||
<i class="tainacan-icon tainacan-icon-comment"/>
|
||||
<i class="tainacan-icon tainacan-icon-comment" />
|
||||
</span>
|
||||
<label>{{ $i18n.get('label_comments') }}</label>
|
||||
</div>
|
||||
|
@ -374,12 +374,12 @@
|
|||
<span
|
||||
v-if="item.comment_status != 'open'"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-close"/>
|
||||
<i class="tainacan-icon tainacan-icon-close" />
|
||||
</span>
|
||||
<span
|
||||
v-if="item.comment_status == 'open'"
|
||||
class="icon">
|
||||
<i class="tainacan-icon tainacan-icon-approved"/>
|
||||
<i class="tainacan-icon tainacan-icon-approved" />
|
||||
</span>
|
||||
{{ item.comment_status == 'open' ? $i18n.get('label_allowed') : $i18n.get('label_not_allowed') }}
|
||||
</span>
|
||||
|
@ -405,7 +405,7 @@
|
|||
:disabled="isLoading"
|
||||
@click="openActivitiesModal()">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-activities" />
|
||||
</span>
|
||||
<span class="is-hidden-touch">{{ $i18n.get('label_view_activity_logs') }}</span>
|
||||
</button>
|
||||
|
@ -416,7 +416,7 @@
|
|||
:disabled="isLoading"
|
||||
@click="openExposersModal()">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-viewas" />
|
||||
</span>
|
||||
<span class="is-hidden-touch">{{ $i18n.get('label_view_as') }}</span>
|
||||
</button>
|
||||
|
@ -425,7 +425,7 @@
|
|||
class="button sequence-button is-pulled-right"
|
||||
:href="item.url">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-openurl" />
|
||||
</span>
|
||||
<span>{{ $i18n.get('label_item_page_on_website') }}</span>
|
||||
</a>
|
||||
|
@ -434,7 +434,7 @@
|
|||
class="button is-secondary"
|
||||
:to="{ path: $routerHelper.getItemEditPath(collectionId, itemId)}">
|
||||
<span class="icon is-large">
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit"/>
|
||||
<i class="tainacan-icon tainacan-icon-1-25em tainacan-icon-edit" />
|
||||
</span>
|
||||
<span>{{ $i18n.getFrom('items','edit_item') }}</span>
|
||||
</router-link>
|
||||
|
|
|
@ -105,13 +105,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z"/>
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z" />
|
||||
<path
|
||||
v-else
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
|
@ -124,13 +124,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z"/>
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z" />
|
||||
<path
|
||||
v-else
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div
|
||||
v-if="isLoadingCollection"
|
||||
class="carousel-items-collection-header skeleton"
|
||||
:style="{ height: '165px' }"/>
|
||||
:style="{ height: '165px' }" />
|
||||
<a
|
||||
v-else
|
||||
:href="collection.url ? collection.url : ''"
|
||||
|
@ -34,14 +34,14 @@
|
|||
class="collection-thumbnail"
|
||||
:style="{
|
||||
backgroundImage: 'url(' + (collection.thumbnail['tainacan-medium'] != undefined ? (collection.thumbnail['tainacan-medium'][0]) : (collection.thumbnail['medium'][0])) + ')',
|
||||
}"/>
|
||||
}" />
|
||||
<div
|
||||
class="collection-header-image"
|
||||
:style="{
|
||||
backgroundImage: collection.header_image ? 'url(' + collection.header_image + ')' : '',
|
||||
minHeight: collection && collection.header_image ? '' : '80px',
|
||||
display: !(collection && collection.thumbnail && (collection.thumbnail['tainacan-medium'] || collection.thumbnail['medium'])) ? collection && collection.header_image ? '' : 'none' : ''
|
||||
}"/>
|
||||
}" />
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -108,13 +108,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z"/>
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z" />
|
||||
<path
|
||||
v-else
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
|
@ -127,13 +127,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z"/>
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z" />
|
||||
<path
|
||||
v-else
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
:
|
||||
$thumbHelper.getEmptyThumbnailPlaceholder('empty', imageSize))
|
||||
"
|
||||
:alt="term.thumbnail_alt ? term.thumbnail_alt : (term.name ? term.name : wpI18n('Thumbnail', 'tainacan'))" >
|
||||
:alt="term.thumbnail_alt ? term.thumbnail_alt : (term.name ? term.name : wpI18n('Thumbnail', 'tainacan'))">
|
||||
<span v-if="!hideName">{{ term.name ? term.name : '' }}</span>
|
||||
</a>
|
||||
<a
|
||||
|
@ -105,13 +105,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z"/>
|
||||
d="M 10.694196,6 12.103795,7.4095983 8.5000002,11.022321 H 19.305804 v 1.955358 H 8.5000002 L 12.103795,16.590402 10.694196,18 4.6941962,12 Z" />
|
||||
<path
|
||||
v-else
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
<button
|
||||
|
@ -124,13 +124,13 @@
|
|||
viewBox="0 0 24 24">
|
||||
<path
|
||||
v-if="arrowsStyle === 'type-2'"
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z"/>
|
||||
d="M 13.305804,6 11.896205,7.4095983 15.5,11.022321 H 4.6941964 v 1.955358 H 15.5 L 11.896205,16.590402 13.305804,18 l 6,-6 z" />
|
||||
<path
|
||||
v-else
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div
|
||||
v-if="isLoadingCollection"
|
||||
class="dynamic-items-collection-header skeleton"
|
||||
:style="{ height: '165px' }"/>
|
||||
:style="{ height: '165px' }" />
|
||||
<a
|
||||
v-else
|
||||
:href="collection.url ? collection.url : ''"
|
||||
|
@ -34,14 +34,14 @@
|
|||
class="collection-thumbnail"
|
||||
:style="{
|
||||
backgroundImage: 'url(' + (collection.thumbnail['tainacan-medium'] != undefined ? (collection.thumbnail['tainacan-medium'][0]) : (collection.thumbnail['medium'][0])) + ')',
|
||||
}"/>
|
||||
}" />
|
||||
<div
|
||||
class="collection-header-image"
|
||||
:style="{
|
||||
backgroundImage: collection.header_image ? 'url(' + collection.header_image + ')' : '',
|
||||
minHeight: collection && collection.header_image ? '' : '80px',
|
||||
display: !(collection && collection.thumbnail && (collection.thumbnail['tainacan-medium'] || collection.thumbnail['medium'])) ? collection && collection.header_image ? '' : 'none' : ''
|
||||
}"/>
|
||||
}" />
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
|
@ -57,7 +57,7 @@
|
|||
width="24"
|
||||
height="24"
|
||||
viewBox="-2 -2 20 20">
|
||||
<path d="M6.7,10.8l-3.3,3.3L0,10.8h2.5V0h1.7v10.8H6.7z M11.7,0.8H8.3v1.7h3.3V0.8z M14.2,5.8H8.3v1.7h5.8V5.8z M16.7,10.8H8.3v1.7 h8.3V10.8z"/>
|
||||
<path d="M6.7,10.8l-3.3,3.3L0,10.8h2.5V0h1.7v10.8H6.7z M11.7,0.8H8.3v1.7h3.3V0.8z M14.2,5.8H8.3v1.7h5.8V5.8z M16.7,10.8H8.3v1.7 h8.3V10.8z" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -73,7 +73,7 @@
|
|||
height="24"
|
||||
viewBox="-2 -2 20 20">
|
||||
<path
|
||||
d="M6.7,3.3H4.2v10.8H2.5V3.3H0L3.3,0L6.7,3.3z M11.6,2.5H8.3v1.7h3.3V2.5z M14.1,7.5H8.3v1.7h5.8V7.5z M16.6,12.5H8.3v1.7 h8.3V12.5z"/>
|
||||
d="M6.7,3.3H4.2v10.8H2.5V3.3H0L3.3,0L6.7,3.3z M11.6,2.5H8.3v1.7h3.3V2.5z M14.1,7.5H8.3v1.7h5.8V7.5z M16.6,12.5H8.3v1.7 h8.3V12.5z" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -96,7 +96,7 @@
|
|||
c-0.1,0-0.6,0.2-0.6,0.1c0,0-4.2-4.2-4.2-4.2c0,0-0.8,0.3-0.8,0.4c-1.3,0.4-2.8,0.5-4.1-0.1c-0.7-0.3-1.3-0.7-1.8-1.2
|
||||
C1.2,9.3,0.8,8.7,0.5,8S0,6.6,0,5.8z M1.6,5.8c0,0.4,0.1,0.9,0.2,1.3C2.1,8.2,3,9.2,4.1,9.6c0.5,0.2,1,0.3,1.6,0.3
|
||||
c0.6,0,1.1-0.1,1.6-0.3C8.7,9,9.7,7.6,9.8,6c0.1-1.5-0.6-3.1-2-3.9c-0.9-0.5-2-0.6-3-0.4C4.6,1.8,4.4,1.9,4.1,2
|
||||
c-0.5,0.2-1,0.5-1.4,0.9C2,3.7,1.6,4.7,1.6,5.8z"/>
|
||||
c-0.5,0.2-1,0.5-1.4,0.9C2,3.7,1.6,4.7,1.6,5.8z" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -116,10 +116,10 @@
|
|||
width="30"
|
||||
height="30"
|
||||
viewBox="0 2 20 20">
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/>
|
||||
<path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
@ -136,10 +136,10 @@
|
|||
width="30"
|
||||
height="30"
|
||||
viewBox="0 2 20 20">
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/>
|
||||
<path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z" />
|
||||
<path
|
||||
d="M0 0h24v24H0z"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</svg>
|
||||
</i>
|
||||
</span>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
cx="28"
|
||||
stroke-width="3"
|
||||
stroke="white"
|
||||
fill="none"/>
|
||||
fill="none" />
|
||||
</g>
|
||||
</svg>
|
||||
</div>
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
}"
|
||||
class="icon slideshow-icon"
|
||||
@click.prevent="starSlideshowFromHere(index)">
|
||||
<i class="tainacan-icon tainacan-icon-viewgallery tainacan-icon-1-125em"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewgallery tainacan-icon-1-125em" />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@
|
|||
}"
|
||||
class="icon slideshow-icon"
|
||||
@click.prevent="starSlideshowFromHere(index)">
|
||||
<i class="tainacan-icon tainacan-icon-viewgallery tainacan-icon-1-125em"/>
|
||||
<i class="tainacan-icon tainacan-icon-viewgallery tainacan-icon-1-125em" />
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
@ -115,7 +115,7 @@
|
|||
<h3 class="metadata-label">{{ column.name }}</h3>
|
||||
<p
|
||||
class="metadata-value"
|
||||
v-html="renderMetadata(item, column)"/>
|
||||
v-html="renderMetadata(item, column)" />
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue