Skip to content

Commit

Permalink
Revert "take down contests temporarily"
Browse files Browse the repository at this point in the history
This reverts commit 79be482.
  • Loading branch information
raj454raj committed Nov 19, 2023
1 parent 7985287 commit 8ed7fcb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
8 changes: 4 additions & 4 deletions models/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ def get_menu_tuple(icon_class, tooltip, button_label, url, new_item=False):
T("Search Friends"),
"Nav Search",
URL("default", "search")),
# get_menu_tuple("fa-calendar-check-o",
# T("Upcoming Contests"),
# "Nav Contests",
# URL("default", "contests")),
get_menu_tuple("fa-calendar-check-o",
T("Upcoming Contests"),
"Nav Contests",
URL("default", "contests")),
get_menu_tuple("fa-tag",
T("Search Problems"),
"Nav Problem Search",
Expand Down
11 changes: 10 additions & 1 deletion views/default/contests.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@

<body>
<h1>{{=T("Upcoming Contests")}}</h1>
<h6>{{=T("Note: All the time stamps mentioned here are in IST")}}</h6>

<h6>We are facing some issues in fetching the upcoming contests. We will get back soon!</h6>
<div class="row">
<div class="col offset-s1 s10">
{{if retrieved:}}
{{=table}}
{{else:}}
<p>Error retrieving contests! If the problem persists please <a href="{{=URL('default', 'contact_us')}}">{{=T("Contact Us")}}</a></p>
{{pass}}
</div>
</div>
</body>

0 comments on commit 8ed7fcb

Please sign in to comment.