-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2080 from RitvikSardana/minor-fixes
fix: minor navigation and styling fixes
- Loading branch information
Showing
9 changed files
with
60 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<template> | ||
<div class="flex h-full items-center justify-center"> | ||
<div | ||
class="flex flex-col items-center gap-3 text-xl font-medium text-ink-gray-4" | ||
> | ||
<!-- Icon --> | ||
<component v-if="icon" :is="icon" class="h-10 w-10" /> | ||
<!-- title --> | ||
<span>{{ title }}</span> | ||
<!-- Button which emits Empty State Action --> | ||
<Button label="Create" @click="emit('emptyStateAction')" variant="subtle"> | ||
<template #prefix><FeatherIcon name="plus" class="h-4" /></template> | ||
</Button> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
defineProps({ | ||
title: { | ||
type: String, | ||
default: "No Data Found", | ||
}, | ||
icon: { | ||
type: String || HTMLElement, | ||
default: "", | ||
}, | ||
}); | ||
const emit = defineEmits(["emptyStateAction"]); | ||
</script> | ||
|
||
<style lang="scss" scoped></style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import frappe | ||
from frappe.desk.form.assign_to import add as add_assign | ||
|
||
AUTHOR_EMAIl = "[email protected]" | ||
AUTHOR_NAME = "Ritvik Sardana" | ||
AUTHOR_EMAIl = "[email protected]" | ||
AUTHOR_NAME = "John Doe" | ||
CONTENT = """ | ||
<p> | ||
Hi 👋 | ||
|
@@ -13,8 +13,8 @@ | |
You can get started right away by setting up a support email. This will help you see what | ||
your support will look like with Helpdesk! | ||
<br><br> | ||
If you face any issues, please reach out to us via <a href="https://frappedesk.com/helpdesk"> | ||
https://frappedesk.com/helpdesk</a> | ||
If you face any issues, please reach out to us via <a href="https://support.frappe.io/helpdesk"> | ||
https://support.frappe.io/helpdesk</a> | ||
<br><br> | ||
Best, | ||
<br> | ||
|
@@ -38,7 +38,6 @@ def create_ticket(): | |
d.contact = AUTHOR_NAME | ||
d.via_customer_portal = True | ||
d.insert() | ||
d.create_communication_via_contact(d.description) | ||
add_assign( | ||
{ | ||
"doctype": "HD Ticket", | ||
|