mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-10 00:11:22 +08:00
clean up flash label
This commit is contained in:
parent
971da78a11
commit
8a8bf10f08
2 changed files with 1 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ class ExperimentsController < ApplicationController
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
flash[:alert] = t('experiments.archive.restore_flash')
|
flash[:alert] = t('experiments.update.error_flash')
|
||||||
respond_to do |format|
|
respond_to do |format|
|
||||||
format.json do
|
format.json do
|
||||||
render json: @experiment.errors, status: :unprocessable_entity
|
render json: @experiment.errors, status: :unprocessable_entity
|
||||||
|
|
|
||||||
|
|
@ -631,7 +631,6 @@ en:
|
||||||
success_flash: "Successfully archived experiment %{experiment}"
|
success_flash: "Successfully archived experiment %{experiment}"
|
||||||
error_flash: 'Could not archive the experiment.'
|
error_flash: 'Could not archive the experiment.'
|
||||||
label_title: 'Archive'
|
label_title: 'Archive'
|
||||||
restore_flash: 'Something went wrong try again later later'
|
|
||||||
clone:
|
clone:
|
||||||
modal_title: 'Clone experiment %{experiment}'
|
modal_title: 'Clone experiment %{experiment}'
|
||||||
label_title: 'Clone'
|
label_title: 'Clone'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue