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:
@@ -816,6 +816,7 @@
|
||||
"Other voters": "Alle anderen",
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "Übermittelt von",
|
||||
"This project requires": "Dieses Projekt benötigt/beantragt",
|
||||
"sats": "sats"
|
||||
"This project requires": "Dieses Projekt benötigt\/beantragt",
|
||||
"sats": "sats",
|
||||
"Your vote": "Deine Stimme"
|
||||
}
|
||||
|
||||
@@ -814,5 +814,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -814,5 +814,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -815,5 +815,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -777,5 +777,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -789,5 +789,6 @@
|
||||
"Submit a project proposal and let the community vote on it through the elected voters. All other community members can also vote.": "",
|
||||
"Submitted by": "",
|
||||
"This project requires": "",
|
||||
"sats": ""
|
||||
"sats": "",
|
||||
"Your vote": ""
|
||||
}
|
||||
@@ -66,6 +66,21 @@
|
||||
<x-button lg primary wire:click="no">
|
||||
No, don't support it!
|
||||
</x-button>
|
||||
<div>
|
||||
<span class="text-amber-500">{{ __('Your vote') }}:</span>
|
||||
@php
|
||||
$myVote = $projectProposal->votes->where('user_id', auth()->id())->first();
|
||||
@endphp
|
||||
@if($myVote && $myVote->value)
|
||||
<x-badge green>{{ __('Yes') }}</x-badge>
|
||||
@endif
|
||||
@if($myVote && !$myVote->value)
|
||||
<x-badge red>{{ __('No') }}</x-badge>
|
||||
@endif
|
||||
@if(!$myVote)
|
||||
<x-badge>{{ __('not voted yet') }}</x-badge>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user