Add views to genereate badges for the state of interns
This commit is contained in:
		
							parent
							
								
									5555992f06
								
							
						
					
					
						commit
						cfe4c07d84
					
				
					 6 changed files with 60 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -65,6 +65,11 @@
 | 
			
		|||
            margin-bottom: 2em;
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .badge img {
 | 
			
		||||
            position: relative;
 | 
			
		||||
            top: 4px;
 | 
			
		||||
        }
 | 
			
		||||
    </style>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
| 
						 | 
				
			
			@ -85,6 +90,8 @@
 | 
			
		|||
    {% else %}
 | 
			
		||||
        <h1>{{ association.short_name }} heeft helemaal geen intern!</h1>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    <p class="badge">Deel een badge!<br /><img src="{% url 'dronken:association_badge' city=association.city.slug slug=association.slug %}" /> <input onClick="this.select();" type="text" readonly value="{{ base_url }}{% url 'dronken:association_badge' city=association.city.slug slug=association.slug %}"/></p>
 | 
			
		||||
</div>
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
</html>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue