<% issue = local_assigns[:issue] || @issue %>
<% hints = ux_toolkit_issue_hints(issue) %>
<% if hints.any? %>
  <div class="box ux-toolkit-issue-hint-box">
    <strong><%= l(:label_ux_toolkit_issue_hints) %></strong>
    <ul class="ux-toolkit-issue-hints-list">
      <% hints.each do |hint| %>
        <li class="ux-toolkit-issue-hint ux-toolkit-issue-hint-<%= hint[:kind] %>">
          <% if hint[:target] %>
            <%= link_to hint[:text], hint[:target], class: 'ux-toolkit-issue-hint-link' %>
          <% else %>
            <%= hint[:text] %>
          <% end %>
        </li>
      <% end %>
    </ul>
  </div>
<% end %>
