mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13: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
|
||||
else
|
||||
flash[:alert] = t('experiments.archive.restore_flash')
|
||||
flash[:alert] = t('experiments.update.error_flash')
|
||||
respond_to do |format|
|
||||
format.json do
|
||||
render json: @experiment.errors, status: :unprocessable_entity
|
||||
|
|
|
@ -631,7 +631,6 @@ en:
|
|||
success_flash: "Successfully archived experiment %{experiment}"
|
||||
error_flash: 'Could not archive the experiment.'
|
||||
label_title: 'Archive'
|
||||
restore_flash: 'Something went wrong try again later later'
|
||||
clone:
|
||||
modal_title: 'Clone experiment %{experiment}'
|
||||
label_title: 'Clone'
|
||||
|
|
Loading…
Reference in a new issue