mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-01 04:32:16 +08:00
Revert repository archived items title
This commit is contained in:
parent
00b668a4ba
commit
f64172f787
2 changed files with 2 additions and 6 deletions
|
@ -163,7 +163,7 @@
|
||||||
|
|
||||||
$('.repository-title-name .inline-editing-container').on('inlineEditing::updated', function(e, value, viewValue) {
|
$('.repository-title-name .inline-editing-container').on('inlineEditing::updated', function(e, value, viewValue) {
|
||||||
$('.repository-archived-title-name')
|
$('.repository-archived-title-name')
|
||||||
.text(I18n.t('repositories.show.inventory_archived_items', { repository_name: viewValue }));
|
.text(I18n.t('repositories.show.archived_inventory', { repository_name: viewValue }));
|
||||||
$('#toolbarButtonsDatatable .archived-label')
|
$('#toolbarButtonsDatatable .archived-label')
|
||||||
.text(I18n.t('repositories.show.archived_view_label.active', { repository_name: viewValue }));
|
.text(I18n.t('repositories.show.archived_view_label.active', { repository_name: viewValue }));
|
||||||
});
|
});
|
||||||
|
|
|
@ -36,11 +36,7 @@
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div class="repository-archived-title-name" data-view-mode="archived">
|
<div class="repository-archived-title-name" data-view-mode="archived">
|
||||||
<% if @repository.active? %>
|
<%= t('repositories.show.archived_inventory', repository_name: @repository.name) %>
|
||||||
<%= t('repositories.show.inventory_archived_items', repository_name: @repository.name) %>
|
|
||||||
<% else %>
|
|
||||||
<%= t('repositories.show.archived_inventory', repository_name: @repository.name) %>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="repo-datatables-buttons">
|
<div class="repo-datatables-buttons">
|
||||||
<div class="share-repository-button" data-view-mode="active">
|
<div class="share-repository-button" data-view-mode="active">
|
||||||
|
|
Loading…
Reference in a new issue