Skip to content

Commit

Permalink
fix: startup html errors (#889)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Robbert Ritsema <robbert@123inkt.nl>
Co-authored-by: Frank Dekker <fdekker@123inkt.nl>
  • Loading branch information
3 people authored Oct 18, 2024
1 parent 13e5eaa commit 7708140
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 12 deletions.
3 changes: 0 additions & 3 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## overrides for development

version: '3'

services:
nginx:
volumes:
Expand Down
3 changes: 0 additions & 3 deletions docker-compose.production.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
## overrides for production

version: '3'

services:
nginx:
volumes:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: '3'

services:
nginx:
container_name: ${NGINX_CONTAINER:-nginx}
Expand Down
2 changes: 1 addition & 1 deletion templates/app/admin/edit_repository.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
{{ inputFieldRow(form.repository.updateRevisionsInterval) }}
{{ inputFieldRow(form.repository.validateRevisionsInterval) }}

{% if form.repository.gitlabProjectId %}
{% if form.repository.gitlabProjectId is defined %}
<h4>{{ 'integrations'|trans }}</h4>
<hr>
{{ inputFieldRow(form.repository.gitlabProjectId) }}
Expand Down
8 changes: 5 additions & 3 deletions templates/app/project/projects.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@
href="{{ path('DR\\Review\\Controller\\App\\Reviews\\ReviewsController', {id: repository.id}) }}">
{{- repository.displayName -}}

<small class="d-block text-secondary">
{{ projectsModel.revisionCount[repository.id]|format_number }} {{ 'revisions'|trans|lower }}
</small>
{% if projectsModel.revisionCount[repository.id] is defined %}
<small class="d-block text-secondary">
{{ projectsModel.revisionCount[repository.id]|format_number }} {{ 'revisions'|trans|lower }}
</small>
{% endif %}
</a>
{%- endfor -%}
</div>
Expand Down

0 comments on commit 7708140

Please sign in to comment.