Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -190,7 +190,7 @@ def display_pet_card(pet, is_favorite=False, context="search"):
|
|
190 |
if pet['status'] == 'adoptable':
|
191 |
tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
|
192 |
else:
|
193 |
-
tags_html += f"<span class='tag' style='background-color: #
|
194 |
|
195 |
if pet['age']:
|
196 |
tags_html += f"<span class='tag'>{pet['age']}</span> "
|
|
|
190 |
if pet['status'] == 'adoptable':
|
191 |
tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
|
192 |
else:
|
193 |
+
tags_html += f"<span class='tag' style='background-color: #808080;'>{pet['status'].title()}</span> "
|
194 |
|
195 |
if pet['age']:
|
196 |
tags_html += f"<span class='tag'>{pet['age']}</span> "
|