diff --git a/.DS_Store b/.DS_Store index a78fb14d..3ccb36f0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/osinaweb/.DS_Store b/osinaweb/.DS_Store index 54ea2ae4..770cd965 100644 Binary files a/osinaweb/.DS_Store and b/osinaweb/.DS_Store differ 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' %} - +