change markup of list_package_installs

main
vitrinekast 2 months ago
parent 8145bb217f
commit a20e1f3304

@ -304,6 +304,7 @@ q {
body {
font-family: "CascadiaCode VTT";
font-size: 0.8rem;
text-align: left;
margin: 2rem 1rem 1rem 1rem;
}

@ -76,7 +76,8 @@ output = template.render(
# users_created_today=users_created_today,
users_created_today=fallback,
since_last_boot=since_last_boot,
list_package_installs=list_package_installs,
# list_package_installs=list_package_installs,
list_package_installs = [],
list_package_upgrade=list_package_upgrade,
list_package_remove=list_package_remove,
device_info=device_info,

@ -130,31 +130,27 @@ user_deleted : {{ user_deleted }}
{{ log_output(users_created_today) }}
{% if users_created_today|length > 0 %}
<mark> {{last_user_name}} user was added, and the network of trust grew ever so slightly. Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).</mark>
<mark> <code>{{last_user_added_name}}</code> user was added, and the network of trust grew ever so slightly. Users will be trusted with not just the keys and passwords to the "house" which is the server, but with a portion of responsibility to keep it afloat and contribute to what makes it a community of practices (and network of knowledge and dependence).</mark>
{% else %}
<mark>No new users were created today. The trust network remains the same size.</mark>
{% endif %}
{% endif %}
{% if list_package_installs|length > 0 %}
<p><em>tldr@chopchop:~ $</em> grep 'install' /var/log/dpkg.log</p>
<p><em>tldr@chopchop:~ $</em> grep 'install' /var/log/dpkg.log</p>
<mark>
Today the following packages were installed:
</mark>
<mark>
Packages are often installed to use different software or coding languages or build alternative tools. Often
users have to talk about and consider which packages they need and why, as well as how much storage they take up
and how they will change their interactions with and on their shared server.
</mark>
{{ log_output(list_package_installs) }}
<mark>
Packages are often installed to use different software or coding languages or build alternative tools. Often
users have to talk about and consider which packages they need and why, as well as how much storage they take up
and how they will change their interactions with and on their shared server.
</mark>
{% endif %}
{{ log_output(list_package_installs) }}
{% if list_package_installs|length < 0 %} <mark>
Today no new packages were installed...
</mark>
<b>This part also not working</b>
{% endif %}
{% if list_package_upgrade|length > 0 %}

Loading…
Cancel
Save