mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-06 21:24:23 +08:00
Fix step position in activity [SCI-12072]
This commit is contained in:
parent
169f743a8a
commit
9103ede18a
2 changed files with 4 additions and 3 deletions
|
@ -87,7 +87,8 @@ class StepResultsController < ApplicationController
|
|||
my_module: my_module.id,
|
||||
step: step.id,
|
||||
result: result.id,
|
||||
position: step.position + 1
|
||||
step_position: { id: step.id,
|
||||
value_for: 'position_plus_one' }
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
|
@ -392,8 +392,8 @@ en:
|
|||
remove_head_of_project_html: "%{user} removed user %{user_target} as head of project %{project}."
|
||||
task_steps_loaded_from_template_html: "%{user} added %{count} steps from template %{protocol} to task %{my_module}."
|
||||
protocol_steps_loaded_from_template_html: "%{user} added %{count} steps from template %{protocol}."
|
||||
step_and_result_linked_html: "%{user} linked result <strong>%{result}</strong> and step <strong>%{position}</strong> <strong>%{step}</strong> on task <strong>%{my_module}</strong>."
|
||||
step_and_result_unlinked_html: "%{user} unlinked result <strong>%{result}</strong> and step <strong>%{position}</strong> <strong>%{step}</strong> on task <strong>%{my_module}</strong>."
|
||||
step_and_result_linked_html: "%{user} linked result <strong>%{result}</strong> and step <strong>%{step_position}</strong> <strong>%{step}</strong> on task <strong>%{my_module}</strong>."
|
||||
step_and_result_unlinked_html: "%{user} unlinked result <strong>%{result}</strong> and step <strong>%{step_position}</strong> <strong>%{step}</strong> on task <strong>%{my_module}</strong>."
|
||||
activity_name:
|
||||
create_project: "Project created"
|
||||
edit_project: "Project edited"
|
||||
|
|
Loading…
Add table
Reference in a new issue