Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions app/views/admin/university/organizations/static.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
<%
# This version has to incremented every time you change something in the file, to invalidate the cache
version = 8
# Next lines are not in the controller because it happens in the background jobs
organization = @l10n.about
university = organization.university
language = @l10n.language
# @pabois @SebouChu do we still need this cache since iteration 11?
cache_key = [organization, @l10n, @website.id, version]
cache cache_key do
%>---
<%= render 'admin/application/static/core', about: @l10n %>
<%= render 'admin/application/static/breadcrumbs', about: @l10n %>
Expand Down Expand Up @@ -44,5 +39,4 @@ logo_on_dark_background: "<%= @about.logo_on_dark_background.blob.id %>"
categories: university.organization_categories,
key: :organizations_categories %>
<%= render 'admin/communication/contents/static', about: @l10n %>
---
<% end %>
---
5 changes: 0 additions & 5 deletions app/views/admin/university/people/static.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
<%
# this version has to be incremented every time you change something in the file, to invalidate the cache
version = 9
person = @l10n.about
university = person.university
language = @l10n.language
cache_key = [person, @l10n, @website&.id, version]
cache cache_key do
%>---
<%= osuny_static_text 'linkTitle', @l10n.to_s_alphabetical %>
<%= render 'admin/application/static/core', about: @l10n %>
Expand Down Expand Up @@ -125,4 +121,3 @@ cohorts:
<%= osuny_static_html 'biography', @l10n.biography %>
<%= render 'admin/communication/contents/static', about: @l10n %>
---
<% end %>
16 changes: 16 additions & 0 deletions pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Type

- [ ] Nouvelle fonctionnalité
- [ ] Bug
- [ ] Ajustement
- [ ] Rangement

## Description



## Niveau d'incidence

- [ ] Incidence faible 😌
- [ ] Incidence moyenne 😲
- [ ] Incidence forte 😱
Loading