From 868879efb07a6a32b735afbc74f5844d2719e04a Mon Sep 17 00:00:00 2001 From: Salim Elliye Date: Fri, 25 Jul 2025 09:54:37 +0300 Subject: [PATCH] new --- .DS_Store | Bin 8196 -> 8196 bytes osinaweb/.DS_Store | Bin 14340 -> 14340 bytes osinaweb/customercore/urls.py | 3 --- osinaweb/customercore/views.py | 16 ---------------- .../osinacore/templates/customer_index.html | 4 ++-- 5 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.DS_Store b/.DS_Store index a78fb14dd15dfaadc605a4b373dcc27cc1213524..3ccb36f08e6c7f638867f6b082beec59d98093ac 100644 GIT binary patch delta 111 zcmZp1XmQw3F34y&xk9j&Nm_F9f5AJ_5t+&PdBK@gsqq5*#TohKoFC@H|G#Hh_^!f4BA&*;JE$r#0$%$UNM$yl_x IQMj200GbpY7ytkO delta 111 zcmZp1XmQw3F34ywxk9j&Nm6F=f5AJ_@dEtC8TsX&$@zH!MX6<(spS!wKz49uRqEt# zLRR8Y2N*zrGbArRFO^f-App!}nCvdBC@IOP#Hh_^!f4BA&*;JE$r#0$%$UNM$(Xgd IQMj200G4qc9RL6T diff --git a/osinaweb/.DS_Store b/osinaweb/.DS_Store index 54ea2ae422465d68f88d168d42e3938b16f16b87..770cd965917fdc6046c1e9d2cc9dcb87cd6b79bf 100644 GIT binary patch delta 25 gcmZoEXern*N0GzC#85}U*u-#hp1A$y$BK$#0C7DCAOHXW delta 25 gcmZoEXern*N0GzG(o{#m#K3TJp1A$y$BK$#0C9&1Bme*a diff --git a/osinaweb/customercore/urls.py b/osinaweb/customercore/urls.py index 35f35337..62efb06a 100644 --- a/osinaweb/customercore/urls.py +++ b/osinaweb/customercore/urls.py @@ -6,9 +6,6 @@ urlpatterns = [ path('payment/', include('customercore.payment.urls')), path('add/', include('customercore.add.urls')), - path('redirect-osimenu/', views.redirect_osimenu, name='redirectosimenu'), - path('redirect-osicard/', views.redirect_osicard, name='redirectosicard'), - path('contact/', views.contact, name='contact'), # LISTING diff --git a/osinaweb/customercore/views.py b/osinaweb/customercore/views.py index 3da130bb..742b6b00 100644 --- a/osinaweb/customercore/views.py +++ b/osinaweb/customercore/views.py @@ -15,22 +15,6 @@ from support .models import * # Create your views here. -@customer_login_required -def redirect_osimenu(request): - user_email = request.user.email - key = 'pbkdf2_sha256600000' - url = f"https://osimenu.com/login/{user_email}/{key}/" - return redirect(url) - - -@customer_login_required -def redirect_osicard(request): - user_email = request.user.email - key = 'pbkdf2_sha256600000' - url = f"https://mybusinesscard.page/login/{user_email}/{key}/" - return redirect(url) - - @customer_login_required def contact(request, *args, **kwargs): diff --git a/osinaweb/osinacore/templates/customer_index.html b/osinaweb/osinacore/templates/customer_index.html index f6a1911f..34c8c809 100644 --- a/osinaweb/osinacore/templates/customer_index.html +++ b/osinaweb/osinacore/templates/customer_index.html @@ -67,7 +67,7 @@ {% for subscription in active_subscriptions %} {% if subscription.item.item_type.name == 'OSIMENU' %} - +
{% elif subscription.item.item_type.name == 'OSICARD' %} - +