{{ entreprise.nom }}
+Aucune entreprise
+Crée une entreprise dans l'administration, + ou saisis une opération.
+ {% endif %} + {% endblock %} + {% block content %}{% endblock %} +diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..2b3db51 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,16 @@ +name: Deploy via Portainer + +on: + push: + branches: [main] + workflow_dispatch: + +jobs: + deploy: + runs-on: self-hosted + steps: + - name: Trigger Portainer stack redeploy + run: | + HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" -X POST "${{ secrets.PORTAINER_WEBHOOK }}") + echo "HTTP: $HTTP_CODE" + [ "$HTTP_CODE" = "200" ] || [ "$HTTP_CODE" = "204" ] || exit 1 diff --git a/compta/templates/compta/base.html b/compta/templates/compta/base.html index 66e1552..ad784be 100644 --- a/compta/templates/compta/base.html +++ b/compta/templates/compta/base.html @@ -5,83 +5,146 @@
Crée une entreprise dans l'administration, - ou saisis une opération.
-{% else %} - - -Crée une entreprise dans l'administration, + ou saisis une opération.
+ {% endif %} + {% endblock %} + {% block content %}{% endblock %} +