aboutsummaryrefslogtreecommitdiff
{#
SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0

Proxy web UI page that asks whether to enable a package that can be used with
current site.

This file is part of Hydrilla&Haketilo.

Copyright (C) 2022 Wojtek Kosior

Dual licensed under
* GNU General Public License v3.0 or later and
* Creative Commons Attribution Share Alike 4.0 International.

You can choose to use either of these licenses or both.


I, Wojtek Kosior, thereby promise not to sue for violation of this
file's licenses. Although I request that you do not make use of this
code in a proprietary work, I am not going to enforce this in court.
#}
{% extends "hkt_mitm_it_base.html.jinja" %}

{% block title %}
  {{ _('web_ui.prompts.package_suggestion.title') }}
{% endblock %}

{% block main %}
  {% if file_installation_error is defined %}
    {{ error_note(_('web_ui.err.file_installation_error')) }}
  {% endif %}

  {% if repo_communication_error is defined %}
    {{ error_note(_('web_ui.err.repo_communication_error')) }}
  {% endif %}

  <h3>
    {{ _('web_ui.prompts.package_suggestion.heading') }}
  </h3>

  <p>
    {{
      _('web_ui.prompts.package_suggestion.do_you_want_to_enable_package_{}')
          .format(display_info.mapping_info.info.long_name)
    }}
  </p>

  {% set disable_text = _('web_ui.prompts.package_suggestion.disable_button') %}
  {% set enable_text  = _('web_ui.prompts.package_suggestion.enable_button') %}

  {{
    button_row([
            (['red-button'],  disable_text, {'action': 'disable_mapping'}),
            (['blue-button'], enable_text,  {'action': 'enable_mapping'})
        ], {'mapping_ver_id': display_info.mapping_info.ref.id}
    )
  }}
{% endblock %}
> 2023-05-03gnu: gtksourceview: Update to 5.8.0....Efraim Flashner 2023-04-14Merge branch 'master' into core-updates....Maxim Cournoyer 2023-04-09gnu: gtk: Do not manually move /bin....Maxim Cournoyer 2023-04-07gnu: gtk+: Update to 3.24.30....Maxim Cournoyer 2023-04-07gnu: Add libpanel....Antero Mejr 2023-03-31gnu: atk: Deprecate in favor of at-spi2-core....Josselin Poiret 2023-03-31gnu: atkmm: Update to 2.36.2....Josselin Poiret 2023-03-31gnu: Replace all uses of atk by at-spi2-core....Josselin Poiret 2023-03-20Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge 2023-03-16gnu: graphene: Fix cross-compilation....Z572 2023-03-06gnu: perl-gtk2: Add pkg-config to native inputs....Maxim Cournoyer 2023-03-02Merge remote-tracking branch 'savannah/master' into core-updates...Christopher Baines 2023-02-19gnu: Use HTTPS package home pages wherever possible....Tobias Geerinckx-Rice 2023-02-05gnu: Rename 'git-minimal/fixed' to 'git-minimal/pinned'....Simon Tournier 2023-01-30Merge remote-tracking branch 'origin/master' into core-updates...Efraim Flashner 2023-01-22gnu: volctl: Update to 0.9.3....Sergiu Ivanov 2023-01-22gnu: volctl: Make the synopsis line shorter....Sergiu Ivanov 2022-12-02gnu: harfbuzz: Add 5.3.1....Marius Bakke 2022-11-20gnu: gtk+: Use gexps and replace iso-codes/official with iso-codes....Maxim Cournoyer 2022-11-20gnu: gtk+-2: Use librsvg-for-system....Maxim Cournoyer 2022-11-20gnu: gtk+-2: Remove trailing #t and use gexps....Maxim Cournoyer 2022-11-20gnu: pangomm: Update to 2.50.1 and remove input labels....Maxim Cournoyer 2022-11-20gnu: harfbuzz: Update to 5.3.1....Maxim Cournoyer 2022-11-20gnu: pango: Update to 1.50.10 and remove input labels....Maxim Cournoyer 2022-11-21gnu: Add appmenu-gtk-module....Petr Hodina 2022-11-01gnu: Shorten package synopsis....Vagrant Cascadian 2022-10-12Merge remote-tracking branch 'origin/master' into staging...Efraim Flashner 2022-10-10gnu: gtk: Use librsvg-2.40 for non-x86_64....Denis 'GNUtoo' Carikli 2022-10-01gnu: gtk: Update to 4.8.1....Liliana Marie Prikler 2022-09-19gnu: gtk: Use architecture appropriate librsvg....Efraim Flashner 2022-09-16Merge branch 'master' into stagingMarius Bakke 2022-09-15gnu: pango-next: Fix source URL....Maxim Cournoyer 2022-09-15Merge branch 'staging' into core-updates...Maxim Cournoyer 2022-09-15Merge branch 'master' into staging...Maxim Cournoyer 2022-09-14gnu: dragon-drop: Use G-Expressions....Liliana Marie Prikler 2022-09-14gnu: dragon-drop: Correct PREFIX....arkhan