{% extends "base.html" %} {% load gravatar %} {% load static %} {% block title %} Search Results {% endblock title %} {% block description %} View the results of your search, including activities, domains, and users. Find the information you are looking for quickly and efficiently. {% endblock description %} {% block keywords %} Search Results, Search Activities, Search Domains, Search Users, Find Information, Efficient Search {% endblock keywords %} {% block og_title %} Search Results - Find What You Need {% endblock og_title %} {% block og_description %} Access detailed search results, including activities, domains, and users. Quickly find the information and resources you're looking for. {% endblock og_description %} {% load humanize %} {% block content %} {% include "includes/sidenav.html" %}

Search Results for {{ query }}


{% if query %}
{% if type == 'all' %}

Results Found

{% if organizations %}
Organizations {{ organizations|length }}
{% endif %} {% if issues %}
Issues {{ issues|length }}
{% endif %} {% if domains %}
Domains {{ domains|length }}
{% endif %} {% if users %}
Users {{ users|length }}
{% endif %} {% if projects %}
Projects {{ projects|length }}
{% endif %} {% if repos %}
Repos {{ repos|length }}
{% endif %}
{% endif %}
{% if issues %}

Issues

{% for activity in issues %} {% include "includes/_activity.html" %} {% endfor %}
{% endif %} {% if domains %}

Domains

{% for domain in domains %}
{% if domain.logo %} {{ domain.name }} Logo {% else %}
N/A
{% endif %}

{{ domain.name }}

{% if domain.hostname_domain %}

{{ domain.hostname_domain }}

{% endif %}
{% if domain.webshot %} {{ domain.name }} Webshot {% endif %}
Clicks: {{ domain.clicks|default:"0" }}
Open Issues: {{ domain.open_issues.count }}
Closed Issues: {{ domain.closed_issues.count }}
{% if domain.managers.exists %}
Managers:
{% for manager in domain.managers.all %} {{ manager.get_full_name|default:manager.username }} {% endfor %}
{% endif %}
{% if domain.twitter %} Twitter {% endif %} {% if domain.facebook %} Facebook {% endif %} {% if domain.github %} GitHub {% endif %}
{% if domain.tags.exists %}
{% for tag in domain.tags.all %} {{ tag.name }} {% endfor %}
{% endif %} {% if domain.top_tester %}
Top Tester: {{ domain.top_tester.get_full_name|default:domain.top_tester.username }}
{% endif %}
Domain Color:
{% endfor %}
{% endif %} {% if users %}

Users

{% for user in users %}
{% if user.userprofile.user_avatar %} {{ user.username }} {% elif user.socialaccount_set.all.0.get_avatar_url %} user image {% else %} user image {% endif %}

{{ user.username }} {% if user.userprofile %} {{ user.userprofile.get_title_display }} {% endif %}

{% if user.userprofile %}

Role: {{ user.userprofile.role|default:"Not specified" }}

Points: {{ user.userprofile.total_score }}

{% if user.userprofile.team %}

Team: {{ user.userprofile.team }}

{% endif %} {% endif %}
{% if user.userprofile.linkedin_url %} LinkedIn {% endif %} {% if user.userprofile.github_url %} GitHub {% endif %} {% if user.userprofile.website_url %} Website {% endif %} {% if user.userprofile.public_key %} {% else %} {% endif %}
{% for badge in user.badges %}
{{ badge.badge.title }} {{ badge.badge.title }}
{% endfor %}
{% for tag in user.tags.all %} {{ tag.name }} {% endfor %}
{% endfor %}
{% endif %} {% if organizations %}

Organizations

{% for organization in organizations %}
{% if organization.logo %} {{ organization.name }} Logo {% else %}
No Logo
{% endif %}

{{ organization.name }}

{% if organization.description %}

{{ organization.description|truncatechars:150 }}

{% endif %}
{% if organization.email %} {{ organization.email }} {% endif %} {% if organization.url %} {{ organization.url }} {% endif %} {% if organization.twitter %} {% endif %} {% if organization.facebook %} {% endif %}
Type: {{ organization.get_type_display }}
Team Points: {{ organization.team_points }}

{% if organization.is_active %} Active {% else %} Inactive {% endif %}

{% if organization.tags.all %}
{% for tag in organization.tags.all %} {{ tag.name }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if projects %}

Projects

{% for project in projects %}
{% if project.logo %} {{ organization.name }} Logo {% else %}
No Logo
{% endif %}

{{ project.name }}

{% if project.description %}

{{ project.description|truncatechars:150 }}

{% endif %}
{% if project.url %} {{ project.url }} {% endif %} {% if project.twitter %} {% endif %} {% if project.facebook %} {% endif %}
{% if project.organization %} {% if project.organization.logo %} {{ organization.name }} Logo {% endif %}

Organization: {{ project.organization.name }}

{% else %}

Organization: Not Assigned

{% endif %}
Visits: {{ project.project_visit_count }}
Created: {{ project.created|date:"F j, Y" }}
Modified: {{ project.modified|date:"F j, Y" }}
{% if project.tags.all %}
{% for tag in project.tags.all %} {{ tag.name }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if tags %}

Tags

Tags

{% for tag in tags %} {{ tag.name }} {% endfor %}
{% if matching_organizations %}

Matching Organizations

{% for org in matching_organizations %}
{% if org.logo %} {{ org.name }} logo {% endif %} {{ org.name }}
{% endfor %}
{% endif %} {% if matching_domains %}

Matching Domains

{% for domain in matching_domains %}
{% if domain.logo %} {{ domain.name }} logo {% endif %} {{ domain.name }}
{% endfor %}
{% endif %} {% if matching_issues %}

Matching Issues

{% for issue in matching_issues %}
{% if issue.logo %} {{ issue.description }} logo {% endif %} {{ issue.description }}
{% endfor %}
{% endif %} {% if matching_user_profiles %}

Matching User Profiles

{% for profile in matching_user_profiles %}
{% if profile.user_avatar %} {{ profile.user.username }} {% else %} avatar {% endif %} {{ profile.user.username }}
{% endfor %}
{% endif %} {% if matching_repos %}

Matching Repositories

{% for repo in matching_repos %} {% endfor %}
{% endif %}
{% endif %} {% if repos %}

Repositories

{% for repo in repos %}
{% if repo.logo_url %} {{ repo.name }} Logo {% else %}
No Logo
{% endif %}

{{ repo.name }}

{% if repo.description %}

{{ repo.description|truncatechars:150 }}

{% endif %}
{% if repo.primary_language %} {{ repo.primary_language }} {% endif %} {% if repo.stars %} {{ repo.stars }} {% endif %} {% if repo.forks %} {{ repo.forks }} {% endif %} {% if repo.open_issues %} {{ repo.open_issues }} {% endif %}
Last Updated: {{ repo.last_updated|date:"d M Y, H:i" }}
License: {{ repo.license }}
Visits: {{ repo.repo_visit_count }}
{% if repo.tags.all %}
{% for tag in repo.tags.all %} {{ tag.name }} {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% if not issues and not domains and not users and not organizations and not projects and not tags and not repos %}
{% endif %}
{% endif %} {% endblock content %}