Commit 348ceb3df52d96e29679308903854176e13df229

Authored by Zambom
1 parent 76adb8d3

Updating no image themes path

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
themes/models.py
@@ -27,7 +27,7 @@ class Themes(models.Model): @@ -27,7 +27,7 @@ class Themes(models.Model):
27 @property 27 @property
28 def favicon_url(self): 28 def favicon_url(self):
29 if self.favicon and hasattr(self.favicon, 'url'): 29 if self.favicon and hasattr(self.favicon, 'url'):
30 - if self.favicon.url != 'favicon_amadeus.png': 30 + if self.favicon.url != '/uploads/favicon_amadeus.png':
31 return self.favicon.url 31 return self.favicon.url
32 32
33 return static('img/favicon_amadeus.png') 33 return static('img/favicon_amadeus.png')
@@ -35,7 +35,7 @@ class Themes(models.Model): @@ -35,7 +35,7 @@ class Themes(models.Model):
35 @property 35 @property
36 def small_logo_url(self): 36 def small_logo_url(self):
37 if self.small_logo and hasattr(self.small_logo, 'url'): 37 if self.small_logo and hasattr(self.small_logo, 'url'):
38 - if self.small_logo.url != 'logo_pequena_amadeus.png': 38 + if self.small_logo.url != '/uploads/logo_pequena_amadeus.png':
39 return self.small_logo.url 39 return self.small_logo.url
40 40
41 return static('img/logo_pequena_amadeus.png') 41 return static('img/logo_pequena_amadeus.png')
@@ -43,7 +43,7 @@ class Themes(models.Model): @@ -43,7 +43,7 @@ class Themes(models.Model):
43 @property 43 @property
44 def large_logo_url(self): 44 def large_logo_url(self):
45 if self.large_logo and hasattr(self.large_logo, 'url'): 45 if self.large_logo and hasattr(self.large_logo, 'url'):
46 - if self.large_logo.url != 'logo_grande_amadeus.png': 46 + if self.large_logo.url != '/uploads/logo_grande_amadeus.png':
47 return self.large_logo.url 47 return self.large_logo.url
48 48
49 return static('img/logo_grande_amadeus.png') 49 return static('img/logo_grande_amadeus.png')
50 \ No newline at end of file 50 \ No newline at end of file