Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
#52 WIP added front-end checkbox for allowing publication of message
Browse files Browse the repository at this point in the history
  • Loading branch information
Izoman committed Feb 8, 2017
1 parent c024369 commit 01b606a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/lang/en/donation.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
"placeholder" => "You can leave an optional message to the project creator here.",
"info" => "This message is optional."
],
"visibility" => [
"description" => "Allow your message to be public.",
"info" => "This allows us to make your message publicly visible."
],
],

"buttons" => [
Expand Down
4 changes: 4 additions & 0 deletions resources/lang/nl/donation.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
"placeholder" => "U kunt een optioneel bericht achterlaten voor de makers van dit project.",
"info" => "Dit bericht is optioneel. U kunt dit leeg laten."
],
"visibility" => [
"description" => "Toestaan om je bericht public te maken.",
"info" => "Dit laat ons toe om uw bericht publiek zichtbaar te maken."
],
],

"buttons" => [
Expand Down
7 changes: 7 additions & 0 deletions resources/views/front/donation/user.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@
{{ trans('donation.user.message.info') }}
</span>
</div>
<div class="form-group">
<input checked="checked" name="visibility" type="checkbox" value="1"> {{ trans('donation.user.visibility.description') }}<br>

<span id="helpBlock" class="help-block">
{{ trans('donation.user.visibility.info') }}
</span>
</div>

<button type="submit" class="btn4 pull-right">{{ trans('donation.buttons.confirm') }}</button>
</form>
Expand Down

0 comments on commit 01b606a

Please sign in to comment.