{% extends 'user_portal/base.html' %} {% block main %} {% if current_machine %} {{ current_machine.serial_number }} - {{ current_machine.computer_name }} {% endif %}

App

{% for object in target_info.objects %}
Name
{{ object.name }}
Version
{{ object.version }}
{% if publisher_info %}

Publisher

{% if publisher_info.team_id %}
Team ID
{{ publisher_info.team_id }}
{% endif %} {% if publisher_info.name %}
Name
{{ publisher_info.name }}
{% endif %}
{% endif %} {% endfor %} {% if ballot_box %} {% if ballot_box.conflicting_non_voting_rule_custom_messages %} {% for custom_msg in ballot_box.conflicting_non_voting_rule_custom_messages %}

{{ custom_msg }}

{% endfor %} {% else %}

Status

{% for configuration, target_state in states %}
Configuration
{{ configuration }}{% if configuration == current_configuration %}*{% endif %}
Status
{{ target_state.get_state_display }}
Score
{{ target_state.score }}
{% endfor %} {% if existing_ballot and existing_votes %}

Vote

Date
{{ existing_ballot.created_at }}
Configurations
{% for configuration, yes_vote in existing_votes %} {{ configuration }} - {% if yes_vote %}👍{% else %}👎{% endif %}
{% endfor %}
{% endif %} {% if ballot_box.is_upvoting_allowed or ballot_box.is_downvoting_allowed %}

{% if vote %}Update your{% else %}Cast a{% endif %} vote for this application

{% csrf_token %} {% if ballot_box.is_upvoting_allowed %}

{% endif %} {% if ballot_box.is_downvoting_allowed %}

{% endif %}
{% endif %} {% endif %}{% comment %}conflicting_non_voting_rules{% endcomment %} {% endif %}{% comment %}ballot_box{% endcomment %} {% endblock %}