{% extends '::base.html.twig' %}

{% block body %}
     All sources
{% endblock %}
 

{% block description %}
	Showing all sources of Politikportal
{% endblock %}


{% block main %}

	<table>

		<thead>
			<tr>
				<th>Name</th>
				<th>Status</th>
			</tr>
		</thead>
		
	  {% for source in sources %}
	  
		<tr>
			<td>{{ source.name }}</td>
			<td>{{ source.status }}</td>	
		</tr>
	
	  {% else %}
      	
      	<tr>
      		<td colspan="2">No sources found</td>

		</tr>
		    
      {% endfor %}
    
	  	
	</table>
    
{% endblock %}
{% extends '::base.html.twig' %}

{% block body %}
     All sources, page {{ page }}
{% endblock %}
 

{% block description %}
	Showing all sources of Politikportal
{% endblock %}


{% block main %}

	<table>

		<thead>
			<tr>
				<th>Name</th>
				<th>Status</th>
			</tr>
		</thead>
		
	  {% for source in sources %}
	  
		<tr>
			<td>{{ source.name }}</td>
			<td>{{ source.status }}</td>	
		</tr>
	
	  {% else %}
      	
      	<tr>
      		<td colspan="2">No sources found</td>

		</tr>
		    
      {% endfor %}
    
	  	
	</table>
    
{% endblock %}
Add page number in sources template
Add page number in sources template
