Kaynağa Gözat

chore: remove gcalendar template and third party apps template include

pull/2/head
phot0n 2 yıl önce
ebeveyn
işleme
bbe90ec8b8
3 değiştirilmiş dosya ile 2 ekleme ve 31 silme
  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 Dosyayı Görüntüle

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

+ 0
- 9
payments/templates/includes/third_party_apps.js Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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 %}

Yükleniyor…
İptal
Kaydet