Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -406,7 +406,7 @@ def display_pet_card(pet, is_favorite=False, context="search", tab_id="tab1"):
|
|
406 |
if pet['status'] == 'adoptable':
|
407 |
tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
|
408 |
else:
|
409 |
-
tags_html += f"<span class='tag' style='background-color: #
|
410 |
|
411 |
if pet['age']:
|
412 |
tags_html += f"<span class='tag'>{pet['age']}</span> "
|
|
|
406 |
if pet['status'] == 'adoptable':
|
407 |
tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
|
408 |
else:
|
409 |
+
tags_html += f"<span class='tag' style='background-color: #808080;'>{pet['status'].title()}</span> "
|
410 |
|
411 |
if pet['age']:
|
412 |
tags_html += f"<span class='tag'>{pet['age']}</span> "
|