Skip to content

Commit

Permalink
make industry a link that searches on the companies page (beam-commun…
Browse files Browse the repository at this point in the history
  • Loading branch information
jsegal205 authored Oct 30, 2024
1 parent 16de4c2 commit 1212354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/companies_web/templates/company/card.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<div class="content company-info has-text-left">
<p class="is-size-7">
<span class="icon purple"><i class="fas fa-fw fa-cogs"></i></span>
<%= industry_name(@company) %><br>
<%= link industry_name(@company), to: Routes.live_path(@conn, CompaniesWeb.CompanyLive, locale(@conn), [_target: ["search", "text"], search: [text: industry_name(@company)]]) %><br>

<%= if @company.website do %>
<span class="icon purple"><i class="fas fa-fw fa-globe"></i></span>
Expand Down

0 comments on commit 1212354

Please sign in to comment.