mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
voting added
This commit is contained in:
16
resources/views/columns/project_proposals/action.blade.php
Normal file
16
resources/views/columns/project_proposals/action.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="flex flex-col space-y-1">
|
||||
@can('update', $row)
|
||||
<div>
|
||||
<x-button xs amber :href="route('project.projectProposal.form', ['country' => $country, 'projectProposal' => $row])">
|
||||
<i class="fa fa-thin fa-edit mr-2"></i>
|
||||
{{ __('Edit') }}
|
||||
</x-button>
|
||||
</div>
|
||||
@endcan
|
||||
<div>
|
||||
<x-button xs black :href="route('project.voting.projectFunding', ['country' => $country, 'projectProposal' => $row])">
|
||||
<i class="fa fa-thin fa-check-to-slot mr-2"></i>
|
||||
{{ __('Vote') }} [0]
|
||||
</x-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,6 @@
|
||||
<div class="w-full mb-4 md:w-auto md:mb-0">
|
||||
<x-button :href="route('project.projectProposal.form', ['country' => $country, 'projectProposal' => null])">
|
||||
<i class="fa fa-thin fa-plus"></i>
|
||||
{{ __('Submit project for funding') }}
|
||||
</x-button>
|
||||
</div>
|
||||
Reference in New Issue
Block a user