File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 1515 < img src ="{% static 'images/dummy-user.png' %} " width ="30 "
1616 class ="h-[30px] object-cover img-responsive rounded-full " loading ="lazy ">
1717 {% endif %}
18- < a href ="/profile/{{bug.user.username}} " class ="whitespace-nowrap overflow-clip "> {{bug.user}} </ a >
18+
19+ {% if bug.user.username is not None %}
20+ < a href ="/profile/{{bug.user.username}} " class ="whitespace-nowrap overflow-clip "> {{bug.user}} </ a >
21+ {% else %}
22+ < span class ="whitespace-nowrap overflow-clip "> Anonymous </ span >
23+ {% endif %}
24+
1925 < div class ="bug-type bg-[#0097ED] border-[#005AAD] ms-auto me-2 border-[1px] tracking-wider px-3 py-[1px] rounded-full font-['Nunito_Sans'] font-bold text-lg text-white ">
2026 {{bug.get_label_display}}
2127 </ div >
You can’t perform that action at this time.
0 commit comments