Restore vim modelines

This commit is contained in:
Booteille 2025-05-19 10:23:14 +02:00
parent 58737a6962
commit 203e6d3f9b
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
13 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
<div class="content"> <div class="content">
<h1 class="title is-1"><%= l('About') %></h1> <h1 class="title is-1"><%= l('About') %></h1>

View File

@ -1,4 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<section class="box"> <section class="box">
% if (stash('expired_or_deleted_invitation')) { % if (stash('expired_or_deleted_invitation')) {
<div class="message is-danger"> <div class="message is-danger">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
<h1 class="title is-1 has-text-centered mb-6"><%= l('My files') %></h1> <h1 class="title is-1 has-text-centered mb-6"><%= l('My files') %></h1>

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% my %d = ( % my %d = (
% delay_0 => l('no time limit'), % delay_0 => l('no time limit'),
% delay_1 => l('24 hours'), % delay_1 => l('24 hours'),

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
% if (scalar(@{$self->stash('fails')})) { % if (scalar(@{$self->stash('fails')})) {
<div class="message is-error"> <div class="message is-error">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% stash subject => l('%1 invites you to send him/her files', stash('ldap_user')); % stash subject => l('%1 invites you to send him/her files', stash('ldap_user'));
%= l('Hello,') %= l('Hello,')

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% use Number::Bytes::Human qw(format_bytes); % use Number::Bytes::Human qw(format_bytes);
% my $lang = $self->get_date_lang(); % my $lang = $self->get_date_lang();

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% my $lang = $self->languages; % my $lang = $self->languages;
% $lang =~ s/-(.*)/_\U$1/; % $lang =~ s/-(.*)/_\U$1/;
<!DOCTYPE html> <!DOCTYPE html>

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
% if (defined stash('msg')) { % if (defined stash('msg')) {
<div class="message is-error"> <div class="message is-error">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
% if (defined stash('msg')) { % if (defined stash('msg')) {
<div class="message is-error"> <div class="message is-error">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<div class="box"> <div class="box">
% if (defined(stash('msg'))) { % if (defined(stash('msg'))) {
<div class="message is-danger"> <div class="message is-danger">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
<section class="box"> <section class="box">
% if (!defined(stash('f')) && defined(stash('msg'))) { % if (!defined(stash('f')) && defined(stash('msg'))) {
<div class="message is-danger"> <div class="message is-danger">

View File

@ -1,3 +1,4 @@
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
% if (!defined(stash('f')) && defined(stash('msg'))) { % if (!defined(stash('f')) && defined(stash('msg'))) {
<div class="message is-danger"> <div class="message is-danger">
<div class="message-body"> <div class="message-body">