Skip to content

A free open source IT asset/license management system

Merge branch 'develop' into integrations/2020-08-31-dev-into-master

snipe453fc718d9a8
diff --cc resources/lang/en/general.php
index 765b8d5451,27e456042a..0676cf9e99
--- a/resources/lang/en/general.php
+++ b/resources/lang/en/general.php
@@@ -87,12 -89,13 +89,18 @@@
'firstname_lastname_format' => 'First Name Last Name ([email protected])',
'firstname_lastname_underscore_format' => 'First Name Last Name ([email protected])',
'lastnamefirstinitial_format' => 'Last Name First Initial ([email protected])',
+ 'firstintial_dot_lastname_format' => 'First Initial Last Name ([email protected])',
+ 'first' => 'First',
+ 'firstnamelastname' => 'First Name Last Name ([email protected])',
+ 'lastname_firstinitial' => 'Last Name First Initial ([email protected])',
+ 'firstinitial.lastname' => 'First Initial Last Name ([email protected])',
+ 'firstnamelastinitial' => 'First Name Last Initial ([email protected])',
'first' => 'First',
+ 'firstnamelastname' => 'First Name Last Name ([email protected])',
+ 'lastname_firstinitial' => 'Last Name First Initial ([email protected])',
+ 'firstinitial.lastname' => 'First Initial Last Name ([email protected])',
+ 'firstnamelastinitial' => 'First Name Last Initial ([email protected])',
+ 'first' => 'First',
'first_name' => 'First Name',
'first_name_format' => 'First Name ([email protected])',
'files' => 'Files',
diff --cc resources/views/custom_fields/fieldsets/view.blade.php
index c74360ca2b,d6f6c0c7fe..a8e3c940f2
--- a/resources/views/custom_fields/fieldsets/view.blade.php
+++ b/resources/views/custom_fields/fieldsets/view.blade.php
@@@ -56,22 -56,21 +56,22 @@@
<td>{{$field->format}}</td>
<td>{{$field->element}}</td>
<td>{{ $field->field_encrypted=='1' ? trans('general.yes') : trans('general.no') }}</td>
- <td>
- @if ($field->pivot->required)
- <a href="{{ route('fields.optional', [$custom_fieldset->id, $field->id]) }}">
- <i class="fa fa-check text-success" aria-hidden="true"></i>
- <span class="sr-only">Required - click to make optional</span>
- </a>
- @else
- <a href="{{ route('fields.required', [$custom_fieldset->id, $field->id]) }}">
- <i class="fa fa-times text-danger" aria-hidden="true"></i>
- <span class="sr-only">Optional - click to make required</span>
- </a>
- @endif
+ <td>
+ @if ($field->pivot->required)
+ <a href="{{ route('fields.optional', [$custom_fieldset->id, $field->id]) }}">
+ <i class="fa fa-check text-success" aria-hidden="true"></i>
+ <span class="sr-only">Required - click to make optional</span>
+ </a>
+ @else
+ <a href="{{ route('fields.required', [$custom_fieldset->id, $field->id]) }}">
+ <i class="fa fa-times text-danger" aria-hidden="true"></i>
+ <span class="sr-only">Optional - click to make required</span>
+ </a>
+ @endif
+ </td>
<td>
@can('update', $custom_fieldset)
- <a href="{{ route('fields.disassociate', [$field,$custom_fieldset->id]) }}" class="btn btn-sm btn-danger">Remove</a>
+ <a href="{{ route('fields.disassociate', [$field, $custom_fieldset->id]) }}" class="btn btn-sm btn-danger">Remove</a>
@endcan
</td>
</tr>