add static_placeholder for footer to ungleich_cms_page, help text for footer link
This commit is contained in:
		
					parent
					
						
							
								426e56c4f3
							
						
					
				
			
			
				commit
				
					
						d50e249ba2
					
				
			
		
					 3 changed files with 7 additions and 3 deletions
				
			
		|  | @ -23,7 +23,8 @@ class Migration(migrations.Migration): | |||
|                     blank=True, default='', max_length=100, | ||||
|                     help_text='Name of the company alongside the copyright year')), | ||||
|                 ('link_text', models.CharField( | ||||
|                     blank=True, max_length=100, null=True)), | ||||
|                     blank=True, max_length=100, null=True, | ||||
|                     help_text='Text for the link on the right part of footer')), | ||||
|                 ('link_url', models.URLField(blank=True, | ||||
|                                              help_text='Url to the link in footer', null=True)), | ||||
|                 ('twitter_url', models.URLField( | ||||
|  |  | |||
|  | @ -229,7 +229,10 @@ class UngleichFooter(CMSPlugin): | |||
|         max_length=100, default='', blank=True, | ||||
|         help_text='Name of the company alongside the copyright year' | ||||
|     ) | ||||
|     link_text = models.CharField(max_length=100, blank=True, null=True) | ||||
|     link_text = models.CharField( | ||||
|         max_length=100, blank=True, null=True, | ||||
|         help_text='Text for the link on the right part of footer' | ||||
|     ) | ||||
|     link_url = models.URLField( | ||||
|         blank=True, null=True, | ||||
|         help_text='Url to the link in footer' | ||||
|  |  | |||
|  | @ -41,7 +41,7 @@ | |||
|     {% placeholder 'Ungleich Page Contents' %} | ||||
| 
 | ||||
|     <!-- Footer --> | ||||
|     {% include "ungleich_page/includes/_footer.html" %} | ||||
|     {% static_placeholder 'Footer' %} | ||||
| 
 | ||||
|     <!-- jQuery --> | ||||
|     <script src="{% static 'ungleich_page/js/jquery.js' %}" type="text/javascript"></script> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue