Finalize icon
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -4,10 +4,9 @@ from mayan.apps.appearance.classes import Icon
|
||||
|
||||
icon_control_sheet = Icon(
|
||||
driver_name='fontawesome-layers', data=[
|
||||
{'class': 'far fa-file ', 'transform': 'grow-4'},
|
||||
{'class': 'far fa-file'},
|
||||
{'class': 'fas fa-barcode', 'transform': 'shrink-6'},
|
||||
],
|
||||
#shadow_class='far fa-file',
|
||||
], shadow_class='far fa-file',
|
||||
)
|
||||
icon_control_sheet_create = Icon(
|
||||
driver_name='fontawesome-layers', data=[
|
||||
@@ -23,7 +22,7 @@ icon_control_sheet_list = icon_control_sheet
|
||||
icon_control_sheet_preview = Icon(driver_name='fontawesome', symbol='eye')
|
||||
icon_control_sheet_print = Icon(driver_name='fontawesome', symbol='print')
|
||||
|
||||
icon_control_sheet_code = Icon(driver_name='fontawesome', symbol='qrcode')
|
||||
icon_control_sheet_code = Icon(driver_name='fontawesome', symbol='barcode')
|
||||
icon_control_sheet_code_delete = Icon(
|
||||
driver_name='fontawesome', symbol='times'
|
||||
)
|
||||
@@ -31,9 +30,9 @@ icon_control_sheet_code_edit = Icon(
|
||||
driver_name='fontawesome', symbol='pencil-alt'
|
||||
)
|
||||
icon_control_sheet_code_list = Icon(
|
||||
driver_name='fontawesome', symbol='qrcode'
|
||||
driver_name='fontawesome', symbol='barcode'
|
||||
)
|
||||
icon_control_sheet_code_select = Icon(
|
||||
driver_name='fontawesome-dual', primary_symbol='qrcode',
|
||||
driver_name='fontawesome-dual', primary_symbol='barcode',
|
||||
secondary_symbol='plus'
|
||||
)
|
||||
|
||||
@@ -5,6 +5,8 @@ from mayan.apps.storage.utils import fs_cleanup, mkstemp
|
||||
|
||||
from ..control_codes import ControlCodeAttributeEdit
|
||||
|
||||
TEST_ATTRIBUTE_VALUE = 'test value'
|
||||
|
||||
|
||||
class ControlCodeAttributeEditTestCase(GenericDocumentTestCase):
|
||||
auto_upload_document = False
|
||||
@@ -18,8 +20,6 @@ class ControlCodeAttributeEditTestCase(GenericDocumentTestCase):
|
||||
super(ControlCodeAttributeEditTestCase, self).tearDown()
|
||||
|
||||
def test_control_code(self):
|
||||
TEST_ATTRIBUTE_VALUE = 'test value'
|
||||
|
||||
with open(self.test_document_path, mode='wb') as file_object:
|
||||
control_code = ControlCodeAttributeEdit(
|
||||
name='label', value=TEST_ATTRIBUTE_VALUE
|
||||
|
||||
Reference in New Issue
Block a user