scinote-web/app/views/my_modules/_description_label.html.erb

5 lines
192 B
Text

<% if @my_module.description.blank? %>
<em><%=t "experiments.canvas.popups.no_description" %></em>
<% else %>
<%= custom_auto_link(@my_module.description, team: current_team) %>
<% end %>