3
0
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:
Jason
2018-07-12 18:23:12 -07:00
committed by snipe
parent 980dccf31c
commit 98b20fc1cd
4 changed files with 65 additions and 8 deletions

View File

@ -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')