Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching templates logic style #454

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

jbidoret
Copy link
Collaborator

Switching templates logic style to if:else:endif and foreach:endforeach.
The first commit did no re-indentation, but for some files, I felt necessary to do some (which lead to quite complex diffs).

@codecov-commenter
Copy link

codecov-commenter commented Oct 19, 2024

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (ui-refresh@7de66bc). Learn more about missing BASE report.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             ui-refresh     #454   +/-   ##
=============================================
  Coverage              ?   18.01%           
  Complexity            ?     2020           
=============================================
  Files                 ?       72           
  Lines                 ?     5484           
  Branches              ?        0           
=============================================
  Hits                  ?      988           
  Misses                ?     4496           
  Partials              ?        0           

@vincent-peugnet
Copy link
Owner

vincent-peugnet commented Oct 19, 2024

Awesome !!!

mmh, I think I should rebase this branche on master, because the diff does not only show Julien's changes. I'll try something.

EDIT: solved this with the help of Nicolas

app/view/templates/home.php Outdated Show resolved Hide resolved
app/view/templates/home.php Outdated Show resolved Hide resolved
app/view/templates/home.php Show resolved Hide resolved
app/view/templates/homeopt.php Outdated Show resolved Hide resolved
app/view/templates/homeopt.php Outdated Show resolved Hide resolved
app/view/templates/homeopt.php Show resolved Hide resolved
app/view/templates/user.php Show resolved Hide resolved
Copy link
Collaborator

@n-peugnet n-peugnet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good!

app/view/templates/delete.php Show resolved Hide resolved
app/view/templates/homeopt.php Outdated Show resolved Hide resolved
@vincent-peugnet vincent-peugnet merged commit 0e106df into vincent-peugnet:ui-refresh Oct 21, 2024
11 checks passed
@jbidoret jbidoret deleted the templatestyle branch October 21, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants