diff --git a/locales/en-US/messages.properties b/locales/en-US/messages.properties index 2c209b1b4..fb78af447 100644 --- a/locales/en-US/messages.properties +++ b/locales/en-US/messages.properties @@ -228,8 +228,10 @@ publishUnpublishingIndicator=Unpublishing… publishProjectDescription=Project Description publishCancelBtn=Cancel publishDeleteWarning=Are you sure? The current link will stop working and if you publish again, the link will be different. +projectLive=Your Project is Online noIndexFound=Please add an "index.html" file before publishing your project. Learn more + ################## ## Project List ## ################## diff --git a/views/editor/publish.html b/views/editor/publish.html index e51e60db8..d3bed6872 100644 --- a/views/editor/publish.html +++ b/views/editor/publish.html @@ -7,9 +7,11 @@
- -

{{ gettext("publishHeader") }}

- + {% if project.publish_url %} +

{{ gettext("publishHeader") }}

+ {% else %} +

{{ gettext("projectLive") }}

+ {% endif %}

{{ gettext("publishChangesPrompt") }}

{{ gettext("publishChangesBtn") }}