change markup of list_package_installs

main
vitrinekast 8 months ago
parent 8145bb217f
commit a20e1f3304

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

@ -76,7 +76,8 @@ output = template.render(
# users_created_today=users_created_today, # users_created_today=users_created_today,
users_created_today=fallback, users_created_today=fallback,
since_last_boot=since_last_boot, 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_upgrade=list_package_upgrade,
list_package_remove=list_package_remove, list_package_remove=list_package_remove,
device_info=device_info, device_info=device_info,

@ -130,31 +130,27 @@ user_deleted : {{ user_deleted }}
{{ log_output(users_created_today) }} {{ log_output(users_created_today) }}
{% if users_created_today|length > 0 %} {% 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 %} {% else %}
<mark>No new users were created today. The trust network remains the same size.</mark> <mark>No new users were created today. The trust network remains the same size.</mark>
{% endif %} {% endif %}
{% 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> <mark>
Today the following packages were installed: Packages are often installed to use different software or coding languages or build alternative tools. Often
</mark> 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) }} {{ 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 %}
{% if list_package_installs|length < 0 %} <mark> {% if list_package_installs|length < 0 %} <mark>
Today no new packages were installed... Today no new packages were installed...
</mark> </mark>
<b>This part also not working</b>
{% endif %} {% endif %}
{% if list_package_upgrade|length > 0 %} {% if list_package_upgrade|length > 0 %}

Loading…
Cancel
Save