Link bei Quicklinks
This commit is contained in:
parent
869eb96c66
commit
52768c0cee
|
|
@ -1,5 +1,6 @@
|
||||||
media/agencymain/*
|
media/agencymain/*
|
||||||
!media/agencymain/default.jpg
|
!media/agencymain/default.jpg
|
||||||
|
!media/agencymain/linkdefault.jpg
|
||||||
media/userprofilepics/*
|
media/userprofilepics/*
|
||||||
!media/userprofilepics/default.jpg
|
!media/userprofilepics/default.jpg
|
||||||
media/uploadsCK/*
|
media/uploadsCK/*
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
|
|
@ -2,7 +2,7 @@
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="content-section col-6">
|
<div class="content-section col-6">
|
||||||
<h3>News erstellen</h3>
|
<h3>News anlegen</h3>
|
||||||
<hr>
|
<hr>
|
||||||
<form method="POST">
|
<form method="POST">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -35,5 +35,5 @@ class QuickLinks(models.Model):
|
||||||
if self.logo and hasattr(self.logo, 'url'):
|
if self.logo and hasattr(self.logo, 'url'):
|
||||||
return self.logo.url
|
return self.logo.url
|
||||||
else:
|
else:
|
||||||
return "/media/agencymain/default.jpg"
|
return "/media/agencymain/linkdefault.jpg"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
{% load crispy_forms_tags %}
|
{% load crispy_forms_tags %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="content-section col-6">
|
<div class="content-section col-6">
|
||||||
<h3>Neue Quicklink anlegen</h3>
|
<h3>Quicklink anlegen</h3>
|
||||||
<hr>
|
<hr>
|
||||||
<form method="POST" enctype="multipart/form-data">
|
<form method="POST" enctype="multipart/form-data">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue