Change message when user tries to create multiple blogs.

This commit is contained in:
Aditi 2013-08-07 14:13:42 +05:30
parent 842b1bf6cb
commit bd71103e92
2 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ def blog_edit(request):
else:
#the case when max blog count is one.
blog = request.db.Blog.query.filter_by(author=request.user.id).first()
add_message(request, ERROR, "You can not create any more blogs")
add_message(request, ERROR, "Welcome! You already have created a blog.")
return redirect(request, "mediagoblin.media_types.blog.blog-dashboard",
user=request.user.username,
blog_slug=blog.slug)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB