feat: Link to bulma url
This commit is contained in:
		@@ -363,6 +363,10 @@ class AdoptionNotice(models.Model):
 | 
			
		||||
        """Returns the url to access a detailed page for the adoption notice."""
 | 
			
		||||
        return reverse('adoption-notice-detail', args=[str(self.id)])
 | 
			
		||||
 | 
			
		||||
    def get_absolute_url_bulma(self):
 | 
			
		||||
        """Returns the url to access a detailed page for the adoption notice."""
 | 
			
		||||
        return reverse('adoption-notice-detail-bulma', args=[str(self.id)])
 | 
			
		||||
 | 
			
		||||
    def get_report_url(self):
 | 
			
		||||
        """Returns the url to report an adoption notice."""
 | 
			
		||||
        return reverse('report-adoption-notice', args=[str(self.id)])
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
<div class="container-cards">
 | 
			
		||||
    {% if adoption_notices %}
 | 
			
		||||
        {% for adoption_notice in adoption_notices %}
 | 
			
		||||
            {% include "fellchensammlung/partials/partial-adoption-notice-minimal.html" %}
 | 
			
		||||
            {% include "fellchensammlung/partials/bulma-partial-adoption-notice-minimal.html" %}
 | 
			
		||||
        {% endfor %}
 | 
			
		||||
    {% else %}
 | 
			
		||||
        <p>{% translate "Keine Vermittlungen gefunden." %}</p>
 | 
			
		||||
 
 | 
			
		||||
@@ -4,7 +4,7 @@
 | 
			
		||||
<div class="card">
 | 
			
		||||
    <div class="header-card-adoption-notice">
 | 
			
		||||
        <h2 class="heading-card-adoption-notice">
 | 
			
		||||
            <a href="{{ adoption_notice.get_absolute_url }}"> {{ adoption_notice.name }}</a>
 | 
			
		||||
            <a href="{{ adoption_notice.get_absolute_url_bulma }}"> {{ adoption_notice.name }}</a>
 | 
			
		||||
        </h2>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user