EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

Remove post_detail.html?? #1097

Open murphysj opened 9 years ago

murphysj commented 9 years ago

WHO: Sylvia

This appears to be unused. Instead we use page_template_main.html for wiki pages.

If this is true, remove this file or reply in the affirmative and sylvia will remove.

murphysj commented 9 years ago

rendered in post_detail in views_post.py urls.py calls post_detail

murphysj commented 9 years ago

@LucaCinquini

What is confusing is that post_detail loads things like 'cog/common/cog_social_media.html' , but also extends layout_sidebar_center.html, which loads page_template_main.html, which in turn includes things like cog/common/cog_social_media.html

so we are loading a bunch of stuff twice. Why is this not causing problems?

LucaCinquini commented 9 years ago

Well do you want to move this ticket to another release and I’ll check ? thanks, L

On Aug 10, 2015, at 12:08 PM, Sylvia Murphy notifications@github.com<mailto:notifications@github.com> wrote:

@LucaCinquinihttps://github.com/LucaCinquini

What is confusing is that post_detail loads things like 'cog/common/cog_social_media.html' , but also extends layout_sidebar_center.html, which loads page_template_main.html, which in turn includes things like cog/common/cog_social_media.html

so we are loading a bunch of stuff twice. Why is this not causing problems?

— Reply to this email directly or view it on GitHubhttps://github.com/EarthSystemCoG/COG/issues/1097#issuecomment-129552698.

murphysj commented 9 years ago

yep, no rush

On Mon, Aug 10, 2015 at 12:10 PM, Luca Cinquini notifications@github.com wrote:

Well do you want to move this ticket to another release and I’ll check ? thanks, L

On Aug 10, 2015, at 12:08 PM, Sylvia Murphy <notifications@github.com mailto:notifications@github.com> wrote:

@LucaCinquinihttps://github.com/LucaCinquini

What is confusing is that post_detail loads things like 'cog/common/cog_social_media.html' , but also extends layout_sidebar_center.html, which loads page_template_main.html, which in turn includes things like cog/common/cog_social_media.html

so we are loading a bunch of stuff twice. Why is this not causing problems?

— Reply to this email directly or view it on GitHub< https://github.com/EarthSystemCoG/COG/issues/1097#issuecomment-129552698>.

— Reply to this email directly or view it on GitHub https://github.com/EarthSystemCoG/COG/issues/1097#issuecomment-129553624 .


Sylvia Murphy NESII/CIRES/NOAA Earth System Research Laboratory 325 Broadway, Boulder CO 80305 Time Zone: U.S. Mountain Web: http://www.esrl.noaa.gov/nesii/ Email: sylvia.murphy@noaa.gov Phone: 303-497-7753