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

Commit ee775cdf authored by Sayantan Roychowdhury's avatar Sayantan Roychowdhury
Browse files

Merge branch 'SayantanRC-master-patch-28220' into 'master'

Support for security_patch_dev in device_downloads.md

See merge request e/documentation/user!1119
parents 71a585cc c05d04b5
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -73,12 +73,20 @@ Flash this [patch]({{ device.additional_downloads.additional_patch }}) on your {
[//]: # ( Build type related )

{% assign security_patch = '' %}
{% assign security_patch_dev = '' %}

{% if device.security_patch_date %}
    {% assign security_patch = '(Security patch: ' | append: device.security_patch_date | append: ')' %}
{%- endif %}

{% if device.security_patch_date_dev %}
    {% assign security_patch_dev = '(Security patch: ' | append: device.security_patch_date_dev | append: ')' %}
{%- else %}
    {% assign security_patch_dev = security_patch %}
{%- endif %}

{% if device.build_version_dev %}
- /e/OS build : [{{ device.build_version_dev }} community](https://images.ecloud.global/dev/{{ device.codename }}) {{ security_patch }}
- /e/OS build : [{{ device.build_version_dev }} community](https://images.ecloud.global/dev/{{ device.codename }}) {{ security_patch_dev }}
{%- endif %}