From 7f6830821860292b1c31ffa2a30397d71bbdff6b Mon Sep 17 00:00:00 2001 From: Chetna Singh Date: Tue, 11 Mar 2025 11:09:13 +0530 Subject: [PATCH 1/3] Added GitHub contribution link in the header --- pgcommitfest/commitfest/templates/base.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pgcommitfest/commitfest/templates/base.html b/pgcommitfest/commitfest/templates/base.html index c70a7f77..ae09994e 100644 --- a/pgcommitfest/commitfest/templates/base.html +++ b/pgcommitfest/commitfest/templates/base.html @@ -30,6 +30,11 @@ Log in {%endif%} +
  • + + Contribute on GitHub + +
  • {%if header_activity%}
  • {{header_activity}}
  • {%endif%} From 95b20723d54e931579f412ddfe8a9997bf2b9409 Mon Sep 17 00:00:00 2001 From: Chetna Singh Date: Tue, 11 Mar 2025 18:35:38 +0530 Subject: [PATCH 2/3] Formatted base.html using djhtml --- pgcommitfest/commitfest/templates/base.html | 113 +++++++++++--------- 1 file changed, 60 insertions(+), 53 deletions(-) diff --git a/pgcommitfest/commitfest/templates/base.html b/pgcommitfest/commitfest/templates/base.html index ae09994e..3c22863d 100644 --- a/pgcommitfest/commitfest/templates/base.html +++ b/pgcommitfest/commitfest/templates/base.html @@ -1,59 +1,66 @@ {%load commitfest%} - - {{title|default:'Commitfest' }} - - - - - - {%block extrahead%}{%endblock%} - {%if rss_alternate%} {%endif%} - - -
    - - {%if title %} -

    {{title}}

    - {%endif%} + + {{title|default:'Commitfest' }} + + + + + + {%block extrahead%}{%endblock%} + {%if rss_alternate%} + {%endif%} + - {%if messages%} - {%for m in messages%} -
    {{m}}
    - {%endfor%} - {%endif%} + +
    + - {%block contents%} - {%endblock%} -
    - - - - - {%block morescript%}{%endblock%} - + {%if title %} +

    {{title}}

    + {%endif%} + + {%if messages%} + {%for m in messages%} +
    {{m}}
    + {%endfor%} + {%endif%} + + {%block contents%} + {%endblock%} +
    + + + + + {%block morescript%}{%endblock%} + + \ No newline at end of file From 2ac35cd9710d83f178d152887a7518b29d82ef7c Mon Sep 17 00:00:00 2001 From: Chetna Singh Date: Wed, 12 Mar 2025 18:49:02 +0530 Subject: [PATCH 3/3] Formatted base.html using djhtml --- pgcommitfest/commitfest/templates/base.html | 114 ++++++++++---------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/pgcommitfest/commitfest/templates/base.html b/pgcommitfest/commitfest/templates/base.html index 3c22863d..10657724 100644 --- a/pgcommitfest/commitfest/templates/base.html +++ b/pgcommitfest/commitfest/templates/base.html @@ -2,65 +2,65 @@ - - {{title|default:'Commitfest' }} - - - - - - {%block extrahead%}{%endblock%} - {%if rss_alternate%} - {%endif%} - + + {{title|default:'Commitfest' }} + + + + + + {%block extrahead%}{%endblock%} + {%if rss_alternate%} + {%endif%} + - -
    - + +
    + - {%if title %} -

    {{title}}

    - {%endif%} + {%if title %} +

    {{title}}

    + {%endif%} - {%if messages%} - {%for m in messages%} -
    {{m}}
    - {%endfor%} - {%endif%} + {%if messages%} + {%for m in messages%} +
    {{m}}
    + {%endfor%} + {%endif%} - {%block contents%} - {%endblock%} -
    - - - - - {%block morescript%}{%endblock%} + {%block contents%} + {%endblock%} +
    + + + + + {%block morescript%}{%endblock%} - \ No newline at end of file + \ No newline at end of file