|
@@ -285,7 +285,8 @@ class ProductPublish(LoginRequiredMixin, DetailView):
|
|
|
if (contact.id == product.contact.id) :
|
|
if (contact.id == product.contact.id) :
|
|
|
|
|
|
|
|
panel_url = reverse( 'admin-panel' )
|
|
panel_url = reverse( 'admin-panel' )
|
|
|
- publishmessage = "Ein Benutzer möchte folgendes Projekt freigeben: {}. Du kannst es über das Admin-Panel freigeben: {}".format( product.name, request.get_host() + panel_url )
|
|
|
|
|
|
|
+ admin_url = reverse( 'admin:marktplatz_product_change', args=(product.id,) )
|
|
|
|
|
+ publishmessage = "Ein Benutzer möchte folgendes Projekt freigeben: {}. Du kannst es über das Admin-Panel freigeben: {} oder auch hier: {}".format( product.name, request.get_host() + panel_url, request.get_host() + admin_url )
|
|
|
|
|
|
|
|
# print (publishmessage)
|
|
# print (publishmessage)
|
|
|
|
|
|