From c74ac71b5d6cd77f9c43e8b7002244ba9cd08d57 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 4 Jul 2026 20:09:58 +0100 Subject: [PATCH] layouts --- src/Yavsc.Org/Views/ApiScope/Create.cshtml | 17 ----------------- src/Yavsc.Org/Views/ApiScope/Delete.cshtml | 18 +----------------- src/Yavsc.Org/Views/ApiScope/Details.cshtml | 14 -------------- src/Yavsc.Org/Views/ApiScope/Edit.cshtml | 15 --------------- src/Yavsc.Org/Views/ApiScope/Index.cshtml | 12 +----------- .../Views/SIRENExceptions/Delete.cshtml | 17 +---------------- .../Views/SIRENExceptions/Details.cshtml | 15 --------------- .../Shared/Components/Bill/Bill_tex.cshtml | 14 +++++++------- 8 files changed, 10 insertions(+), 112 deletions(-) diff --git a/src/Yavsc.Org/Views/ApiScope/Create.cshtml b/src/Yavsc.Org/Views/ApiScope/Create.cshtml index 01aed332..8297251d 100644 --- a/src/Yavsc.Org/Views/ApiScope/Create.cshtml +++ b/src/Yavsc.Org/Views/ApiScope/Create.cshtml @@ -3,21 +3,7 @@ ViewBag.Title = Localizer["ApiScope"]; } -@{ - Layout = null; -} - - - - - - - Create - - -

ApiScope

-
@@ -67,6 +53,3 @@
Back to List
- - - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/ApiScope/Delete.cshtml b/src/Yavsc.Org/Views/ApiScope/Delete.cshtml index 2fbc66b1..abb3d26b 100644 --- a/src/Yavsc.Org/Views/ApiScope/Delete.cshtml +++ b/src/Yavsc.Org/Views/ApiScope/Delete.cshtml @@ -3,19 +3,6 @@ ViewBag.Title = Localizer["ApiScope"]; } -@{ - Layout = null; -} - - - - - - - Delete - - -

Are you sure you want to delete this?

YavscApiScope

@@ -64,12 +51,9 @@ @Html.DisplayFor(model => model.ShowInDiscoveryDocument) - + | Back to List -
- - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/ApiScope/Details.cshtml b/src/Yavsc.Org/Views/ApiScope/Details.cshtml index 47c52f24..9275a114 100644 --- a/src/Yavsc.Org/Views/ApiScope/Details.cshtml +++ b/src/Yavsc.Org/Views/ApiScope/Details.cshtml @@ -3,18 +3,6 @@ ViewBag.Title = Localizer["ApiScope"]; } -@{ - Layout = null; -} - - - - - - - Details - -

YavscApiScope

@@ -68,5 +56,3 @@ Edit | Back to List
- - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/ApiScope/Edit.cshtml b/src/Yavsc.Org/Views/ApiScope/Edit.cshtml index 33feb63d..1466435b 100644 --- a/src/Yavsc.Org/Views/ApiScope/Edit.cshtml +++ b/src/Yavsc.Org/Views/ApiScope/Edit.cshtml @@ -3,18 +3,6 @@ ViewBag.Title = Localizer["ApiScope"]; } -@{ - Layout = null; -} - - - - - - - Edit - -

YavscApiScope


@@ -68,6 +56,3 @@
Back to List
- - - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/ApiScope/Index.cshtml b/src/Yavsc.Org/Views/ApiScope/Index.cshtml index d148a0d8..2c64b5c1 100644 --- a/src/Yavsc.Org/Views/ApiScope/Index.cshtml +++ b/src/Yavsc.Org/Views/ApiScope/Index.cshtml @@ -2,17 +2,9 @@ @{ ViewBag.Title = Localizer["ApiScope"]; - Layout = null; + } - - - - - - Index - -

Create New

@@ -76,5 +68,3 @@ } - - diff --git a/src/Yavsc.Org/Views/SIRENExceptions/Delete.cshtml b/src/Yavsc.Org/Views/SIRENExceptions/Delete.cshtml index 8c5b494a..47e93d91 100644 --- a/src/Yavsc.Org/Views/SIRENExceptions/Delete.cshtml +++ b/src/Yavsc.Org/Views/SIRENExceptions/Delete.cshtml @@ -3,26 +3,13 @@ ViewBag.Title = Localizer["SIRENExceptions"]; } -@{ - Layout = "null"; -} - - - - - - - Delete - - -

AreYourSureYouWantToDeleteThis

ExceptionSIREN


- +
| @@ -30,5 +17,3 @@
- - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/SIRENExceptions/Details.cshtml b/src/Yavsc.Org/Views/SIRENExceptions/Details.cshtml index 062a9277..5c018270 100644 --- a/src/Yavsc.Org/Views/SIRENExceptions/Details.cshtml +++ b/src/Yavsc.Org/Views/SIRENExceptions/Details.cshtml @@ -3,19 +3,6 @@ ViewBag.Title = Localizer["SIRENExceptions"]; } -@{ - Layout = "null"; -} - - - - - - - Details - - -

ExceptionSIREN


@@ -26,5 +13,3 @@ Edit | Back to List

- - \ No newline at end of file diff --git a/src/Yavsc.Org/Views/Shared/Components/Bill/Bill_tex.cshtml b/src/Yavsc.Org/Views/Shared/Components/Bill/Bill_tex.cshtml index 4c69db7c..353d124e 100644 --- a/src/Yavsc.Org/Views/Shared/Components/Bill/Bill_tex.cshtml +++ b/src/Yavsc.Org/Views/Shared/Components/Bill/Bill_tex.cshtml @@ -54,7 +54,7 @@ \global\let\TotalHT\TotalHT \global\let\TotalTVA\TotalTVA \global\let\TotalTTC\TotalTTC - \cr + \cr \hline \textbf{Total} & & & \TotalHT } @@ -82,7 +82,7 @@ % Infos Client \def\ClientNom{@TeXHelpers.ToTeX(to.UserName)} % Nom du client -\def\ClientAdresse{ +\def\ClientAdresse{ % Adresse du client @PostalAddress @if (!string.IsNullOrWhiteSpace(to.PhoneNumber)) {\\ @TeXHelpers.ToTeX(to.PhoneNumber) @@ -109,7 +109,7 @@ \renewcommand{\headrulewidth}{0pt} \cfoot{ @TeXHelpers.ToTeX(from.UserName) - @ViewBag.FooterPerformerOrganizationAddress \\ - \small{ E-mail: @TeXHelpers.ToTeX(from.Email) @if (!string.IsNullOrWhiteSpace(from.PhoneNumber)) { - Téléphone : @TeXHelpers.ToTeX(from.PhoneNumber) } + \small{ E-mail: @TeXHelpers.ToTeX(from.Email) @if (!string.IsNullOrWhiteSpace(from.PhoneNumber)) { - Téléphone : @TeXHelpers.ToTeX(from.PhoneNumber) } } } @@ -117,9 +117,9 @@ % Logo de la société @if (from.Avatar != null) { -\includegraphics[height=60pt]{@(ViewBag.AvatarsDir)/@(from.UserName).png} +\includegraphics[height=60pt]{@(ViewBag.AvatarsDir)/@(from.UserName).png} -} else { +} else { %\includegraphics{logo.png} } @@ -180,12 +180,12 @@ \begin{center} \begin{tabular}{|c c c c|} @if (!string.IsNullOrWhiteSpace(bi.BankCode) && !string.IsNullOrWhiteSpace(bi.WicketCode) - && !string.IsNullOrWhiteSpace(bi.AccountNumber) ) { + && !string.IsNullOrWhiteSpace(bi.AccountNumber) ) { \hline \textbf{Code banque} & \textbf{Code guichet} & \textbf{N\textdegree de Compte} & \textbf{Clé RIB} \\ @bi.BankCode & @bi.WicketCode & @bi.AccountNumber & @bi.BankedKey \\ } - @if (!string.IsNullOrWhiteSpace(@bi.IBAN) && !string.IsNullOrWhiteSpace(@bi.BIC)) { + @if (!string.IsNullOrWhiteSpace(@bi.IBAN) && !string.IsNullOrWhiteSpace(@bi.BIC)) { \hline \textbf{IBAN N\textdegree} & \multicolumn{3}{|l|}{ @bi.IBAN } \\ \hline \textbf{Code BIC} & \multicolumn{3}{|l|}{ @bi.BIC }