Bugfixes, Daten umgezogen
This commit is contained in:
@@ -14,6 +14,8 @@ class Message ( models.Model ):
|
||||
author = models.ForeignKey( User, verbose_name=_("Author") )
|
||||
|
||||
|
||||
|
||||
def __unicode__( self ):
|
||||
return self.author.username + " : " + self.titel
|
||||
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ $(document).ready(function(){
|
||||
<div class="row">
|
||||
|
||||
<div class="span1">
|
||||
<img src="{{MEDIA_URL}}/user_images/{{message.author}}_circle.png" class="img-circle author_pic">
|
||||
<img src="{{MEDIA_URL}}/user_images/{{message.author}}_thumb.png" class="img-circle author_pic">
|
||||
</div>
|
||||
<div class="span7">
|
||||
<div class="name">
|
||||
|
||||
@@ -7,7 +7,7 @@ from django.utils.safestring import mark_safe
|
||||
register = django.template.Library()
|
||||
|
||||
|
||||
youtubeRegex = re.compile( u'(?:http://)?www.youtube.(?:com|de)/watch\?v=(?P<videoID>[-\w]*)' )
|
||||
youtubeRegex = re.compile( u'(?:https://)?(?:http://)?www.youtube.(?:com|de)/watch\?v=(?P<videoID>[-\w]*)' )
|
||||
|
||||
@register.filter( name='youtube' )
|
||||
@stringfilter
|
||||
|
||||
Reference in New Issue
Block a user