mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 11:45:18 +08:00
Merge pull request #6193 from artoscinote/ma_SCI_9096
Fix displaying the 'more' link for multiline experiment description [SCI-9096]
This commit is contained in:
commit
7bb5305b14
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
|||
<div class="description-text">
|
||||
<%= custom_auto_link(experiment.description, team: current_team) %>
|
||||
</div>
|
||||
<% if experiment.description.present? && (experiment.description.length > Constants::EXPERIMENT_LONG_DESCRIPTION || experiment.description.count("\n") > 2) %>
|
||||
<% if experiment.description.present? && (experiment.description.length > Constants::EXPERIMENT_LONG_DESCRIPTION || experiment.description.count("\n") > 1) %>
|
||||
<%= link_to t('experiments.card.more'),
|
||||
experiment_path(experiment),
|
||||
class: 'more-button experiment-action-link',
|
||||
|
|
Loading…
Reference in a new issue