thimble.mozilla.org
thimble.mozilla.org copied to clipboard
[WIP] Fixes #1918, Change Publish popup title when project is Live
Fixes #1918
Added variable to the messages.properties file and added conditions to publish.html
However, I believe that i am not able to access project.publish_url
in publish.html. It always goes to else statement.
Hey @rkgupta21 - are you still working on this PR? It doesn't look like project.publish_url
is available in the template that renders the publish popup. It also looks like the URL for the published project is added in the publisher.js
file - so I think that might be a better place to show / hide the appropriate heading.
You could maybe add a class to the popup depending on what state it is in, then show / hide the appropriate elements.
Hi @flukeout,
You are totally right. I have just submitted another pull request for this fix. Please review
https://github.com/mozilla/thimble.mozilla.org/pull/2482