mirror of
				https://github.com/DerTyp7/tealcode-django-python.git
				synced 2025-10-30 20:57:07 +01:00 
			
		
		
		
	agb
This commit is contained in:
		| @@ -82,7 +82,8 @@ | ||||
|  | ||||
|     <footer class="py-3 my-4"> | ||||
|         <ul class="nav justify-content-center pb-3 mb-3"> | ||||
|           <li class="nav-item"><a id="a-privacy" href="/privacy/" class="nav-link px-2 text-muted">Cookies/Privacy/Datenschutz</a></li> | ||||
|           <li class="nav-item"><a id="a-privacy" href="/privacy/" class="nav-link px-2 text-muted">Cookies/Privacy</a></li> | ||||
|           <li class="nav-item"><a id="a-tos" href="/tos/" class="nav-link px-2 text-muted">TOS/AGBs</a></li> | ||||
|           <li class="nav-item"><a id="a-about"href="/about/" class="nav-link px-2 text-muted">About</a></li> | ||||
|           <li class="nav-item"><a id="a-contact"href="/contact/" class="nav-link px-2 text-muted">Contact</a></li> | ||||
|         </ul> | ||||
|   | ||||
							
								
								
									
										10
									
								
								TealCode/main/templates/main/tos.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								TealCode/main/templates/main/tos.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| {% extends "base.html" %} | ||||
| {% block content %} | ||||
|  | ||||
| <div class="container mx-auto text-center"> | ||||
|     <h2 class="mt-5 fw-bold" style="letter-spacing: 1.5px;">Terms Of Service / AGBs (GER)</h2> | ||||
|     <p class="mt-3" style="letter-spacing: 1px;"> | ||||
|          | ||||
|     </p> | ||||
| </div> | ||||
| {% endblock content %} | ||||
| @@ -7,6 +7,7 @@ urlpatterns = [ | ||||
|     path('category/<str:category>/', views.category, name="main-category"), | ||||
|     path('about/', views.about, name="main-about"), | ||||
|     path('privacy/', views.privacy, name="main-privacy"), | ||||
|     path('tos/', views.tos, name="main-tos"), | ||||
|     path('rating/<str:topic_title>/<int:is_positive>/', views.rating, name="main-rating"), | ||||
|     path('search/<str:value>/', views.search, name="main-search"), | ||||
|     path('sitemap.xml', views.sitemap, name="main-sitemap"), | ||||
|   | ||||
| @@ -91,6 +91,10 @@ def about(req): | ||||
| def privacy(req): | ||||
|     return render(req, "main/privacy.html", {'current': 'privacy'}) | ||||
|  | ||||
| def tos(req): | ||||
|     return render(req, "main/tos.html", {'current': 'tos'}) | ||||
|  | ||||
|  | ||||
| def rating(req, topic_title, is_positive): | ||||
|     topic = Topic.objects.filter(title=topic_title).first() | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 DerTyp187
					DerTyp187