Parcourir la source

chore: remove gcalendar template and third party apps template include

pull/2/head
phot0n il y a 2 ans
Parent
révision
bbe90ec8b8
3 fichiers modifiés avec 2 ajouts et 31 suppressions
  1. +2
    -1
      payments/modules.txt
  2. +0
    -9
      payments/templates/includes/third_party_apps.js
  3. +0
    -21
      payments/templates/pages/gcalendar-success.html

+ 2
- 1
payments/modules.txt Voir le fichier

@@ -1 +1,2 @@
Payments
Payments
Payment Gateways

+ 0
- 9
payments/templates/includes/third_party_apps.js Voir le fichier

@@ -1,9 +0,0 @@
frappe.ready(() => {
$(".btn-delete-app").on("click", function(event) {
frappe.call({
method:"frappe.www.third_party_apps.delete_client",
args: {"client_id": $(this).data("client_id"),
}
}).done(r => location.href="/third_party_apps");
});
});

+ 0
- 21
payments/templates/pages/gcalendar-success.html Voir le fichier

@@ -1,21 +0,0 @@
{% extends "templates/web.html" %}

{% block title %}{{ _("Connection Success") }}{% endblock %}

{%- block page_content -%}
<div class='page-card'>
<div class='page-card-head'>
<span class='indicator green'>
{{ _("Success") }}</span>
</div>
<p>{{ _("Your connection request to Google Calendar was successfully accepted") }}</p>
<div><a href='{{ "/app" }}' class='btn btn-primary btn-sm'>
{{ _("Back to Desk") }}</a></div>
</div>
<style>
.hero-and-content {
background-color: #f5f7fa;
}
{% include "templates/styles/card_style.css" %}
</style>
{% endblock %}

Chargement…
Annuler
Enregistrer