Browse Source

changed url to point to "texture.png" instead of .jpg

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
046f4ebbd1
  1. 2
      pyweb/mumble/urls.py
  2. 2
      template/mumble/mumble.htm

2
pyweb/mumble/urls.py

@ -18,7 +18,7 @@ from django.conf.urls.defaults import *
urlpatterns = patterns( urlpatterns = patterns(
'mumble.views', 'mumble.views',
( r'(?P<server>\d+)/texture.jpg', 'showTexture' ),
( r'(?P<server>\d+)/texture.png', 'showTexture' ),
( r'(?P<server>\d+)', 'show' ), ( r'(?P<server>\d+)', 'show' ),
( r'$', 'mumbles' ), ( r'$', 'mumbles' ),
) )

2
template/mumble/mumble.htm

@ -43,7 +43,7 @@
<p> <p>
You can upload an image that you would like to use as your user texture here.<br /> You can upload an image that you would like to use as your user texture here.<br />
Your current texture is:<br /> Your current texture is:<br />
<img src="/mumble/{{DBaseObject.id}}/texture.jpg" alt="user texture" /><br />
<img src="/mumble/{{DBaseObject.id}}/texture.png" alt="user texture" /><br />
Hint: The texture image <b>needs</b> to be 600x60 in size. If you upload an image with Hint: The texture image <b>needs</b> to be 600x60 in size. If you upload an image with
a different size, it will be resized accordingly.<br /> a different size, it will be resized accordingly.<br />
</p> </p>

Loading…
Cancel
Save