Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d0e3c6f4 authored by Pranav's avatar Pranav
Browse files

Verified boot section for device and product page

parent 83c00418
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -279,6 +279,7 @@
            <th scope="col">Display<br />size</th>
            <th scope="col">Removable<br />(battery)</th>
            <th scope="col">SIM<br />slots</th>
            <th scope="col">Verified<br />Boot</th>
          </tr>
        </thead>
        {%- assign devices = "" | split: " " -%}
@@ -426,6 +427,13 @@
                  {% endif %}
                {% endif %}
              </td>
              <td class="verified_boot">
                {% if device.verified_boot %}
                   <a href="{{ device.codename }}">See supported vendors</a>
                {% else %}
                   Not Possible
                {% endif %}
              </td>
            </tr>
          {% endfor %}
        {%- endfor %}
+15 −0
Original line number Diff line number Diff line
@@ -62,6 +62,21 @@
        <div class="col-md-6 col-sm-12">
            <h1>{{ device_title }}</h1>
            <img src="{{ image_url }}" alt="{{ image_alt }}" height="350px" >
            <h3 class="mb-3 mt-3">Verified Bootloader</h3>
            <div class="row row-detail">
             {% for el in device.verified_boot %}
                 <dt class="dt-right col-sm-3">{{ el.vendor }}</dt>
                 <dd class="dd-right col-sm-9">
              {% if el.supported == 'yes' %}

              {% elsif el.supported == 'no' %}

              {% else %}
                 {% continue %}
              {% endif %}
                 </dd>
             {% endfor %}
            </div>
            <h3 class="mb-3 mt-3">{{ details_title }}</h3>
            
            {% for details_topics_title in details_topics_titles %}