mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Add a default card image when no custom one exists (#23)
* Add a default card image when no custom one exists * Add coming_soon.png source * Use directly the svg source instead of the png raster
This commit is contained in:
@@ -80,6 +80,7 @@ TEMPLATES = [
|
||||
"django.template.context_processors.request",
|
||||
"django.contrib.auth.context_processors.auth",
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"portal.context_processors.default_card_image",
|
||||
],
|
||||
},
|
||||
},
|
||||
@@ -148,6 +149,10 @@ COUNTRIES_OVERRIDE = {
|
||||
"ZZ": "Freelance",
|
||||
}
|
||||
|
||||
# Image used on cards without a custom image uploaded.
|
||||
# The file must be placed in the root of the 'static' folder
|
||||
DEFAULT_CARD_IMAGE = "coming_soon.svg"
|
||||
|
||||
DECODER_INTERFACES = [
|
||||
(1, "NEM651"),
|
||||
(2, "NEM652"),
|
||||
|
Reference in New Issue
Block a user