{% extends "base.html" %} {% load user_groups %} {% block title %}{{ ip.title }} – IP Details{% endblock %} {% block content %}

{{ ip.title }}

{% if user == ip.owner %} Edit {% endif %}
Type: {{ ip.get_ip_type_display }} • IP Status: {{ ip.get_ip_status_display }} • Funding: {{ ip.get_funding_status_display }} • Workflow: {{ ip.get_status_display }}
{# Summary Card #}
Summary

{{ ip.abstract|default:"—" }}

Domain: {{ ip.domain|default:"—" }}

Keywords: {{ ip.keywords|default:"—" }}

Owning Unit: {{ ip.owning_unit|default:"—" }}

{# Readiness + DOST Alignment Card #}
Technology Innovation Details
{# TRL #}
Technology Readiness Level (TRL)
{% if ip.trl %} TRL {{ ip.trl }} {% else %} — {% endif %}
{{ ip.trl_level_label }}
{# CRL #}
Commercial Readiness Level (CRL)
{% if ip.crl %} CRL {{ ip.crl }} {% else %} — {% endif %}
{{ ip.crl_level_label }}
{# Overall Readiness #}
Overall Readiness
{{ readiness.overall_score|default:"0" }}%
{{ readiness.readiness_band|default:"" }}
{# Colored progress bar #}
{# Band labels: highlight the active band #}
Low Medium High
{# Main overall gradient bar #}
{{ readiness.overall_score|default:0|floatformat:1 }}%
{# TRL / CRL contribution bars #}
TRL contribution {{ readiness.trl_score|default:0|floatformat:1 }}%
CRL contribution {{ readiness.crl_score|default:0|floatformat:1 }}%

{# Explanation #}
What this score means

{{ readiness.short_message|default:"This score combines technical and commercial readiness to help TTOs and industry partners decide the next steps." }}

  • TRL follows the DOST TRL 1–9 scale (from basic principles observed to system proven in operational environment).
  • CRL reflects commercialization maturity: market validation, business case, IP/licensing, and market entry.
  • The overall readiness score combines TRL and CRL to prioritize which IPs are closest to deployment or licensing.
{# DOST funding suggestions #}
DOST Funding / Support Opportunities
    {% for rec in readiness.funding_recommendations %}
  • {{ rec }}
  • {% empty %}
  • No specific DOST program suggested yet. Improve TRL and CRL to unlock more options.
  • {% endfor %}
{# TTO Assessment Section #} {% if ip.latest_assessment %}
TTO Assessment (Latest)

Assessed by: {{ ip.latest_assessment.tto.username }}

Date: {{ ip.latest_assessment.date_scored|date:"Y-m-d H:i" }}

{% with assess=ip.latest_assessment %}
TTO Overall Readiness
{{ assess.percentage }}%
{% with pct=assess.percentage %} {% if pct >= 70 %}High Readiness {% elif pct >= 40 %}Medium Readiness {% else %}Low Readiness{% endif %} {% endwith %}
Low Medium High
{% endwith %}
Pillar Score (0–5)
Novelty{{ ip.latest_assessment.novelty_score }}
Feasibility{{ ip.latest_assessment.feasibility_score }}
Market Potential{{ ip.latest_assessment.market_score }}
Team Capability{{ ip.latest_assessment.team_score }}
IP Status Strength{{ ip.latest_assessment.ip_status_score }}
Commercial Viability{{ ip.latest_assessment.commercial_score }}

Total Score: {{ ip.latest_assessment_total }}

{% if ip.latest_assessment.remarks %}

Remarks:
{{ ip.latest_assessment.remarks }}

{% endif %}
{% endif %} {# AI Readiness Score Section #} {% if ai_score %}
AI Readiness Score
{{ ai_score|floatformat:1 }} / 100
{% endif %} {# Other narrative fields #}
Additional Details

Prototype available: {{ ip.has_prototype|yesno:"Yes,No" }}

Prior Art Summary:
{{ ip.prior_art_summary|linebreaksbr|default:"—" }}

Claimed Novelty:
{{ ip.claimed_novelty|linebreaksbr|default:"—" }}

Target Market:
{{ ip.target_market|linebreaksbr|default:"—" }}

{# Right Column - Documents #}
Documents
{# Industry Partner Interest Button #} {% if user|has_group:"Industry Partner" and ip.is_published %}
{% csrf_token %} {% if has_interest %} {% else %} {% endif %}
{% endif %} {% endblock %}