Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

[WIP] Fixes #1918, Change Publish popup title when project is Live #2022

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rkgupta21
Copy link
Contributor

@rkgupta21 rkgupta21 commented Apr 21, 2017

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.

@humphd humphd requested a review from flukeout April 23, 2017 17:35
Copy link
Contributor

@flukeout flukeout left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rkgupta21 For me, in an unpublished project, the Publish popup is trying to show the "projectLive" string, which is incorrect.

image

@flukeout
Copy link
Contributor

flukeout commented Sep 11, 2017

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.

@IamHDT
Copy link

IamHDT commented Sep 12, 2017

Hi @flukeout,

You are totally right. I have just submitted another pull request for this fix. Please review

#2482

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants