55 Search Results
66{% endblock title %}
77{% block description %}
8- View the results of your search, including activities, domains, and users. Find the information you are looking for
9- quickly and efficiently.
8+ View the results of your search, including activities, domains, and users. Find the information you are looking for quickly and efficiently.
109{% endblock description %}
1110{% block keywords %}
1211 Search Results, Search Activities, Search Domains, Search Users, Find Information, Efficient Search
1514 Search Results - Find What You Need
1615{% endblock og_title %}
1716{% block og_description %}
18- Access detailed search results, including activities, domains, and users. Quickly find the information and resources
19- you're looking for.
17+ Access detailed search results, including activities, domains, and users. Quickly find the information and resources you're looking for.
2018{% endblock og_description %}
2119{% load humanize %}
2220{% block content %}
@@ -61,8 +59,7 @@ <h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Results
6159 onclick ="scrollToSection('issues-section') ">
6260 < div class ="flex items-center justify-between ">
6361 < span class ="text-gray-700 dark:text-gray-300 "> Issues</ span >
64- < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ issues|length
65- }}</ span >
62+ < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ issues|length }}</ span >
6663 </ div >
6764 </ div >
6865 {% endif %}
@@ -71,8 +68,7 @@ <h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Results
7168 onclick ="scrollToSection('domains-section') ">
7269 < div class ="flex items-center justify-between ">
7370 < span class ="text-gray-700 dark:text-gray-300 "> Domains</ span >
74- < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ domains|length
75- }}</ span >
71+ < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ domains|length }}</ span >
7672 </ div >
7773 </ div >
7874 {% endif %}
@@ -81,8 +77,7 @@ <h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Results
8177 onclick ="scrollToSection('users-section') ">
8278 < div class ="flex items-center justify-between ">
8379 < span class ="text-gray-700 dark:text-gray-300 "> Users</ span >
84- < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ users|length
85- }}</ span >
80+ < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ users|length }}</ span >
8681 </ div >
8782 </ div >
8883 {% endif %}
@@ -91,8 +86,7 @@ <h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Results
9186 onclick ="scrollToSection('projects-section') ">
9287 < div class ="flex items-center justify-between ">
9388 < span class ="text-gray-700 dark:text-gray-300 "> Projects</ span >
94- < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ projects|length
95- }}</ span >
89+ < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ projects|length }}</ span >
9690 </ div >
9791 </ div >
9892 {% endif %}
@@ -101,8 +95,7 @@ <h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-gray-200">Results
10195 onclick ="scrollToSection('repos-section') ">
10296 < div class ="flex items-center justify-between ">
10397 < span class ="text-gray-700 dark:text-gray-300 "> Repos</ span >
104- < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ repos|length
105- }}</ span >
98+ < span class ="text-[#e74c3c] font-bold bg-red-50 px-3 py-1 rounded-full "> {{ repos|length }}</ span >
10699 </ div >
107100 </ div >
108101 {% endif %}
@@ -176,8 +169,7 @@ <h2 class="text-4xl font-bold text-gray-800 dark:text-gray-200">
176169 </ div >
177170 < div class ="flex items-center space-x-2 ">
178171 < i class ="fas fa-check-circle text-emerald-600 "> </ i >
179- < span > < strong > Closed Issues:</ strong > {{ domain.closed_issues.count
180- }}</ span >
172+ < span > < strong > Closed Issues:</ strong > {{ domain.closed_issues.count }}</ span >
181173 </ div >
182174 </ div >
183175 {% if domain.managers.exists %}
@@ -186,8 +178,7 @@ <h2 class="text-4xl font-bold text-gray-800 dark:text-gray-200">
186178 < div class ="flex flex-wrap mt-2 ">
187179 {% for manager in domain.managers.all %}
188180 < span class ="bg-gray-100 dark:bg-gray-800 text-gray-700 dark:text-gray-300 px-3 py-1 rounded-full mr-2 mb-2 ">
189- < i class ="fas fa-user-circle mr-1 "> </ i >
190- {{ manager.get_full_name|default:manager.username }}
181+ < i class ="fas fa-user-circle mr-1 "> </ i > {{ manager.get_full_name|default:manager.username }}
191182 </ span >
192183 {% endfor %}
193184 </ div >
@@ -231,13 +222,7 @@ <h2 class="text-4xl font-bold text-gray-800 dark:text-gray-200">
231222 {% if domain.top_tester %}
232223 < div class ="mt-4 text-xl ml-4 ">
233224 < i class ="fas fa-user-check text-blue-600 mr-1 "> </ i >
234- < strong > Top Tester:</ strong > < span class ="text-blue-600 ">
235- {% if domain.top_tester.get_full_name %}
236- {{ domain.top_tester.get_full_name }}
237- {% else %}
238- {{ domain.top_tester.username }}
239- {% endif %}
240- </ span >
225+ < strong > Top Tester:</ strong > < span class ="text-blue-600 "> {{ domain.top_tester.get_full_name|default:domain.top_tester.username }}</ span >
241226 </ div >
242227 {% endif %}
243228 < div class ="mt-4 ml-4 ">
@@ -293,8 +278,7 @@ <h3 class="text-3xl font-bold text-indigo-800 flex items-center space-x-2">
293278 < p class ="flex items-center px-3 py-2 shadow-sm ">
294279 < i class ="fas fa-briefcase text-indigo-600 mr-2 "> </ i >
295280 < strong class ="text-indigo-800 "> Role:</ strong >
296- < span class ="ml-1 text-indigo-700 "> {{ user.userprofile.role|default:"Not
297- specified" }}</ span >
281+ < span class ="ml-1 text-indigo-700 "> {{ user.userprofile.role|default:"Not specified" }}</ span >
298282 </ p >
299283 < p class ="flex items-center px-3 py-2 shadow-sm ">
300284 < i class ="fas fa-trophy text-yellow-600 mr-2 "> </ i >
@@ -360,8 +344,7 @@ <h3 class="text-3xl font-bold text-indigo-800 flex items-center space-x-2">
360344 title ="{{ badge.badge.title }} "
361345 height ="48 "
362346 width ="48 ">
363- < span class ="text-gray-700 dark:text-gray-300 font-medium "> {{ badge.badge.title
364- }}</ span >
347+ < span class ="text-gray-700 dark:text-gray-300 font-medium "> {{ badge.badge.title }}</ span >
365348 </ div >
366349 {% endfor %}
367350 </ div >
@@ -441,8 +424,7 @@ <h3 class="text-3xl font-bold text-indigo-800">
441424 </ div >
442425 < div class ="mt-6 flex justify-between items-center ">
443426 < div class ="text-md text-gray-600 dark:text-gray-400 ">
444- < strong > Type:</ strong > < span class ="text-blue-600 "> {{ organization.get_type_display
445- }}</ span >
427+ < strong > Type:</ strong > < span class ="text-blue-600 "> {{ organization.get_type_display }}</ span >
446428 </ div >
447429 < div class ="text-md text-gray-600 dark:text-gray-400 ">
448430 < strong > Team Points:</ strong > < span class ="text-green-600 "> {{ organization.team_points }}</ span >
@@ -545,16 +527,13 @@ <h3 class="font-semibold text-gray-800 dark:text-gray-200">
545527 </ div >
546528 < div class ="mt-6 flex justify-between items-center ">
547529 < div class ="text-md text-gray-600 dark:text-gray-400 ">
548- < strong > Visits:</ strong > < span class ="text-blue-600 "> {{ project.project_visit_count
549- }}</ span >
530+ < strong > Visits:</ strong > < span class ="text-blue-600 "> {{ project.project_visit_count }}</ span >
550531 </ div >
551532 < div class ="text-md text-gray-600 dark:text-gray-400 ">
552- < strong > Created:</ strong > < span class ="text-green-600 "> {{ project.created|date:"F j,
553- Y" }}</ span >
533+ < strong > Created:</ strong > < span class ="text-green-600 "> {{ project.created|date:"F j, Y" }}</ span >
554534 </ div >
555535 < div class ="text-md text-gray-600 dark:text-gray-400 ">
556- < strong > Modified:</ strong > < span class ="text-orange-600 "> {{ project.modified|date:"F
557- j, Y" }}</ span >
536+ < strong > Modified:</ strong > < span class ="text-orange-600 "> {{ project.modified|date:"F j, Y" }}</ span >
558537 </ div >
559538 </ div >
560539 {% if project.tags.all %}
@@ -802,53 +781,53 @@ <h3 class="text-3xl font-bold text-indigo-800 flex items-center gap-3">
802781 function scrollToSection ( sectionId ) {
803782 const section = document . getElementById ( sectionId ) ;
804783 if ( section ) {
805- section . scrollIntoView ( {
784+ section . scrollIntoView ( {
806785 behavior : 'smooth' ,
807786 block : 'start'
808787 } ) ;
809788 }
810789 }
811- document . addEventListener ( "DOMContentLoaded" , function ( ) {
812- const messageButtons = document . querySelectorAll ( ".start-chat" ) ;
813- messageButtons . forEach ( button => {
814- button . addEventListener ( "click" , function ( ) {
815- const userId = this . getAttribute ( "data-user-id" ) ;
790+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
791+ const messageButtons = document . querySelectorAll ( ".start-chat" ) ;
792+ messageButtons . forEach ( button => {
793+ button . addEventListener ( "click" , function ( ) {
794+ const userId = this . getAttribute ( "data-user-id" ) ;
816795
817- fetch ( `/messaging/start-thread/${ userId } /` , {
818- method : "POST" ,
819- headers : {
820- "Content-Type" : "application/json" ,
821- "X-CSRFToken" : getCookie ( "csrftoken" )
822- } ,
823- body : JSON . stringify ( { } )
824- } )
825- . then ( response => response . json ( ) )
826- . then ( data => {
827- if ( data . success ) {
828- window . location . href = `/messaging/?thread=${ data . thread_id } ` ;
829- } else {
830- alert ( "Error starting chat." ) ;
831- }
832- } )
833- . catch ( error => console . error ( "Error:" , error ) ) ;
834- } ) ;
796+ fetch ( `/messaging/start-thread/${ userId } /` , {
797+ method : "POST" ,
798+ headers : {
799+ "Content-Type" : "application/json" ,
800+ "X-CSRFToken" : getCookie ( "csrftoken" )
801+ } ,
802+ body : JSON . stringify ( { } )
803+ } )
804+ . then ( response => response . json ( ) )
805+ . then ( data => {
806+ if ( data . success ) {
807+ window . location . href = `/messaging/?thread=${ data . thread_id } ` ;
808+ } else {
809+ alert ( "Error starting chat." ) ;
810+ }
811+ } )
812+ . catch ( error => console . error ( "Error:" , error ) ) ;
835813 } ) ;
814+ } ) ;
836815
837- function getCookie ( name ) {
838- let cookieValue = null ;
839- if ( document . cookie && document . cookie !== '' ) {
840- const cookies = document . cookie . split ( ';' ) ;
841- for ( let i = 0 ; i < cookies . length ; i ++ ) {
842- const cookie = cookies [ i ] . trim ( ) ;
843- if ( cookie . startsWith ( name + '=' ) ) {
844- cookieValue = decodeURIComponent ( cookie . substring ( name . length + 1 ) ) ;
845- break ;
846- }
816+ function getCookie ( name ) {
817+ let cookieValue = null ;
818+ if ( document . cookie && document . cookie !== '' ) {
819+ const cookies = document . cookie . split ( ';' ) ;
820+ for ( let i = 0 ; i < cookies . length ; i ++ ) {
821+ const cookie = cookies [ i ] . trim ( ) ;
822+ if ( cookie . startsWith ( name + '=' ) ) {
823+ cookieValue = decodeURIComponent ( cookie . substring ( name . length + 1 ) ) ;
824+ break ;
847825 }
848826 }
849- return cookieValue ;
850827 }
828+ return cookieValue ;
829+ }
851830
852- } ) ;
831+ } ) ;
853832 </ script >
854833{% endblock content %}
0 commit comments