2023-07-06 21:10:26 +08:00
|
|
|
<div class="flex items-center uppercase text-bold">
|
|
|
|
<a class="p-4 border-b-4 border-transparent hover:no-underline capitalize <%= is_module_protocols? ? "text-sn-blue" : "text-sn-grey" %>"
|
2023-07-11 22:01:42 +08:00
|
|
|
href="<%= shared_protocol_url(@shareable_link.uuid) %>"
|
2023-07-06 21:10:26 +08:00
|
|
|
title="<%= t("nav2.modules.steps") %>"
|
|
|
|
>
|
|
|
|
<%= t("nav2.modules.steps") %>
|
|
|
|
</a>
|
|
|
|
<a class="p-4 border-b-4 border-transparent hover:no-underline capitalize <%= is_module_results? ? "text-sn-blue" : "text-sn-grey" %>"
|
|
|
|
href="#"
|
|
|
|
title="<%= t("nav2.modules.results") %>"
|
|
|
|
>
|
|
|
|
<%= t("nav2.modules.results") %>
|
|
|
|
<% @active_results_size = @my_module.results.where(archived:false).size %>
|
|
|
|
<% if @active_results_size.positive? %>
|
|
|
|
<sup class="navigation-results-counter"><%= @my_module.archived_branch? ? @my_module.results.size : @active_results_size %></sup>
|
|
|
|
<% end %>
|
|
|
|
</a>
|
|
|
|
</div>
|