Skip to content

Commit

Permalink
Merge pull request #79 from PenseNisso/feature/acesso_comparador
Browse files Browse the repository at this point in the history
feat(company): add link to comparator to company page
  • Loading branch information
Lozavival authored Dec 13, 2023
2 parents 5428073 + 68b01cb commit 030a4eb
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions company/templates/companies/company.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,15 @@ <h3 class="flex flex-row items-center gap-2 text-lg font-bold"><ion-icon class="
</ul>
</div>

<div>
<button onclick="window.location.href = '{% url 'infos:report' %}'">Denunciar</button>
<div class="w-full flex flex-row justify-evenly">
<button onclick="window.location.href='{% url 'infos:report' %}'"
class="bg-red-600 bg-opacity-60 w-1/3 py-1.5 px-3 font-bold rounded-md cursor-pointer hover:scale-[1.035] mt-2">
<ion-icon name="megaphone"></ion-icon> Denunciar
</button>
<button onclick="window.location.href='{% url 'comparator:comparator' %}'"
class="bg-blue-700 bg-opacity-30 w-1/3 py-1.5 px-3 font-bold rounded-md cursor-pointer hover:scale-[1.035] mt-2">
<ion-icon name="git-compare"></ion-icon> Compare
</button>
</div>

{% endblock %}

0 comments on commit 030a4eb

Please sign in to comment.