← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands-website/rework_http500_error into lp:widelands-website

 

Some linguistic proofreading in the comments.

Diff comments:

> === modified file 'mainpage/views.py'
> --- mainpage/views.py	2016-06-25 14:22:15 +0000
> +++ mainpage/views.py	2016-07-26 16:22:11 +0000
> @@ -167,3 +171,8 @@
>                                {'changelog': data},
>                                context_instance=RequestContext(request)
>                                )
> +
> +
> +def custom_http_500(request):
> +    """A custom http 500 error page to not loose css styling."""

loose -> lose

> +    return render(request, '500.html', status=500)
> 
> === modified file 'templates/500.html'
> --- templates/500.html	2012-05-04 16:52:39 +0000
> +++ templates/500.html	2016-07-26 16:22:11 +0000
> @@ -7,10 +7,7 @@
>  {% block content %} 
>  <h1>Internal server error</h1>
>  <div class="blogEntry">
> -	<p> 
> -		If you think you didn't make any mistake, please inform
> -		<a href="mailto:sirver@xxxxxx?subject=[Widelands Homepage] bug in {{ request.path }}">SirVer</a> 
> -		about the error you've received.
> -	</p>
> +    <p> We are sorry about that...</p><br />
> +    <p>The widelands administrators get informed about this issue.</p>

<p>The widelands website administrators have been automatically informed about this issue.</p>

>  </div>
>  {% endblock %}


-- 
https://code.launchpad.net/~widelands-dev/widelands-website/rework_http500_error/+merge/301112
Your team Widelands Developers is subscribed to branch lp:widelands-website.


References