mirror of
https://github.com/snipe/snipe-it.git
synced 2026-02-05 20:35:31 +00:00
Added option to include model information on asset labels. (#5301)
* Added option to include model information on asset labels. Cleaned up label page to fix skewed label alignment on last row per page. * Changes made per Snipe's direction changed type from tinyint to boolean in DB changed labels back to initials
This commit is contained in:
@ -807,7 +807,13 @@ class SettingsController extends Controller
|
||||
$setting->labels_display_tag = 1;
|
||||
} else {
|
||||
$setting->labels_display_tag = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (Input::has('labels_display_tag')) {
|
||||
$setting->labels_display_tag = 1;
|
||||
} else {
|
||||
$setting->labels_display_tag = 0;
|
||||
}
|
||||
|
||||
if ($setting->save()) {
|
||||
return redirect()->route('settings.index')
|
||||
|
||||
Reference in New Issue
Block a user