diff --git a/frontend/src/components/BatchCard.vue b/frontend/src/components/BatchCard.vue index f5525858..f187d0b2 100644 --- a/frontend/src/components/BatchCard.vue +++ b/frontend/src/components/BatchCard.vue @@ -36,19 +36,25 @@ :endDate="batch.end_date" class="mb-3" /> -
+
{{ formatTime(batch.start_time) }} - {{ formatTime(batch.end_time) }}
+
+ + + {{ batch.timezone }} + +
- - - - - -
-
-

{{ meta.title }}

-

- {{ meta.description }} -

-

- The content here is just for seo purposes. The actual content will be loaded in a few seconds. -

-

- Seo checks if a page has more than 300 words. So, here are some more words to make it more than 300 words. - Page descriptions are the HTML meta tags that provide a brief summary of a web page. - Search engines use meta descriptions to help identify the page's topic - they don't use them to rank the page, but they do use them to determine whether or not to display the page in search results. - Meta descriptions are important because they're often the first thing people see when they're deciding which search result to click on. - They're also important because they can help improve your click-through rate (CTR) from search results. - A good meta description can entice people to click on your page instead of someone else's. -

- Know More -
-
-
-
- - - - diff --git a/lms/www/lms.py b/lms/www/lms.py index 4f92c88f..6a75ce06 100644 --- a/lms/www/lms.py +++ b/lms/www/lms.py @@ -82,6 +82,14 @@ def get_meta(app_path): if re.match(r"^batches/.*$", app_path): batch_name = app_path.split("/")[1] + if "new/edit" in app_path: + return { + "title": _("New Batch"), + "image": frappe.db.get_single_value("Website Settings", "banner_image"), + "description": "Create a new batch", + "keywords": "New Batch, Create Batch", + "link": "/lms/batches/new/edit", + } batch = frappe.db.get_value( "LMS Batch", batch_name,