diff --git a/library_management/config/desktop.py b/library_management/config/desktop.py index 1c87edc..f2e33ff 100644 --- a/library_management/config/desktop.py +++ b/library_management/config/desktop.py @@ -4,7 +4,7 @@ def get_data(): return { "Library Management": { "color": "#589494", - "icon": "icon-book", + "icon": "octicon octicon-book", "type": "module", "label": _("Library Management") } diff --git a/library_management/hooks.py b/library_management/hooks.py index b4df88e..5e96d91 100644 --- a/library_management/hooks.py +++ b/library_management/hooks.py @@ -2,7 +2,7 @@ app_title = "Library Management" app_publisher = "Frappe" app_description = "App for managing Articles, Members, Memberships and Transactions for Libraries" -app_icon = "icon-book" +app_icon = "octicon octicon-book" app_color = "#589494" app_email = "info@frappe.io" app_url = "https://frappe.io/apps/library_management" diff --git a/library_management/library_management/doctype/article/list_item.html b/library_management/library_management/doctype/article/list_item.html deleted file mode 100644 index 57e230b..0000000 --- a/library_management/library_management/doctype/article/list_item.html +++ /dev/null @@ -1,13 +0,0 @@ -
-
- - - -
-
-

{{ doc.article_name }}

-

{{ doc.author }}

-

{{ (doc.description[:200] + "...") if doc.description|length > 200 else doc.description }}

-

Publisher: {{ doc.publisher }}

-
-
diff --git a/library_management/templates/includes/list/row_template.html b/library_management/templates/includes/list/row_template.html new file mode 100644 index 0000000..49b8a12 --- /dev/null +++ b/library_management/templates/includes/list/row_template.html @@ -0,0 +1,13 @@ +
+
+ + + +
+
+

{{ doc.article_name }}

+

{{ doc.author }}

+

{{ (doc.description[:200] + "...") if doc.description|length > 200 else doc.description }}

+

Publisher: {{ doc.publisher }}

+
+