Skip to content
This repository was archived by the owner on Jul 31, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions locales/en-US/messages.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>"index.html"</strong> file before publishing your project. <a href="{{ learnMoreURL }}">Learn more</a>


##################
## Project List ##
##################
Expand Down
8 changes: 5 additions & 3 deletions views/editor/publish.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

<div id="publish-dialog" class="hide">
<div class="content">

<h1>{{ gettext("publishHeader") }}</h1>

{% if project.publish_url %}
<h1>{{ gettext("publishHeader") }}</h1>
{% else %}
<h1>{{ gettext("projectLive") }}</h1>
{% endif %}
<div id="publish-changes" class="hide">
<p>{{ gettext("publishChangesPrompt") }}</p>
<div id="publish-button-update">{{ gettext("publishChangesBtn") }}</div>
Expand Down