Thanx


On Thu, Mar 20, 2014 at 1:12 PM, Giulio Gratta <notifications@github.com>wrote:

> In lms/djangoapps/courseware/courses.py:
>
> > +
> > +def get_cms_block_link(block, page):
> > +    """
> > +    Returns a link to block_index for editing the course in cms,
> > +    assuming that the block is actually cms-backed.
> > +    """
> > +    locator = loc_mapper().translate_location(
> > +        block.location.course_id, block.location, False, True
> > +    )
> > +    return "//" + settings.CMS_BASE + locator.url_reverse(page, '')
> > +
> > +def get_studio_url(course_id, page):
> > +    """
> > +    Get the Studio URL of the page that is passed in.
> > +    """
> > +    is_studio_course = (modulestore().get_modulestore_type(course_id) == MONGO_MODULESTORE_TYPE)
>
> @ichuang <https://github.com/ichuang> - sounds great, I'll do that!
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/edx/edx-platform/pull/2552/files#r10805043>
> .
>