archive_index.html 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {% extends "newsroom/base.html" %}
  2. {% block title %}Archives | Community News | Penobscot Bay Press {% endblock %}
  3. {% block description %}{{a.archivesectionchive.body|truncatewords:60}} {% endblock %}
  4. {% block flag_img_src %}{{MEDIA_URL}}images/headers/archivesround440.gif{% endblock %}
  5. {% block flag_descrip %}Short-term archives, videos, slideshows and special features {% endblock %}
  6. {% block content %}
  7. {% load markup typogrify humanize %}
  8. <div style="width:100%; margin:0; padding:0">
  9. <div class="main_content_left">
  10. <div style="padding-left:12px; padding-right:12px; padding-top:12px">
  11. <h2 class="sectionhead_wide">Short-term Archives</h2>
  12. </div>
  13. <div style="padding-left:12px; padding-right:12px; padding-top:12px">
  14. <a href="/news/archives/sports/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Sports Archive','','{{MEDIA_URL}}images/archives/archives_sports_over.gif',1)"><img src="{{MEDIA_URL}}images/archives/archives_sports.gif" alt="Sports Archive" name="Sports Archive" width="200" height="120" border="0"></a> <a href="/multimedia/movies/" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Video Archives','','{{MEDIA_URL}}images/archives/archives_video_over.gif',1)"><img src="{{MEDIA_URL}}images/archives/archives_video.gif" alt="Video Archives" name="Video Archives" width="141" height="120" border="0"></a>
  15. </div>
  16. <div style="padding-left:12px; padding-right:12px; padding-top:12px">
  17. {% for a in archives %}
  18. {% if a.archivedocument %}
  19. <span class="teaser-alt">PDF Document</span><br>
  20. <span class="headline"><a href="{{a.archivedocument.document.get_absolute_url}}">{{a.archivedocument}}</a></span><br>
  21. <span class="subhed">Last Updated {{a.archivedocument.modified|date:"n/j/y"}}</span><br>
  22. <hr/>
  23. {% endif %}
  24. {% if a.archivesection.published %}
  25. <p>
  26. {% if a.archivesection.published %}
  27. {% if a.archivesection.new %}<span class="reddata">NEW!</span>{% endif %}
  28. <span class="teaser">{{a.archivesection.dateline}}</span>
  29. <span class="kicker"><br></span>
  30. <span class="headline">
  31. {% if a.archivesection.thumbnail %}
  32. <span class="teaser">
  33. <img src="{{a.archivesection.thumbnail.url}}" alt="flag" width="30" height="30" hspace="3" border="0" align="left">
  34. </span>{% endif %}
  35. <a href="{{a.archivesection.get_absolute_url}}">{{a.archivesection.title}}</a></span><br>
  36. <span class="subhed">Last Updated {{a.archivesection.modified|date:"n/j/y"}}</span><br>
  37. {% endif %}
  38. {% if a.archivestory %}
  39. {% if a.archivestory.story.new %}<span class="reddata">NEW!</span>{% endif %}
  40. <span class="teaser">{{a.archivestory.story.dateline}}</span>
  41. <span class="kicker"><br></span> <span class="headline">
  42. {% if a.archivesection.thumbnail %}
  43. <span class="teaser">
  44. <img src="{{a.thumbnail.url}}" alt="flag" width="30" height="30" hspace="3" border="0" align="left">
  45. </span>{% endif %}
  46. <a href="{{a.archivestory.story.get_absolute_url}}">{{a.archivestory.story.hed}}</a></span><br>
  47. <span class="subhed">Last Updated {{a.archivestory.story.modified|date:"n/j/y"}}</span><br>
  48. {% endif %}
  49. </p>
  50. <hr/>
  51. {% endif %}
  52. {% endfor %}
  53. </div>
  54. <div style="padding-left:12px; padding-right:12px; padding-top:12px">
  55. <p><b>Yes! I want continued access to PBP's upcoming archives and special features<br/></b>
  56. <a href="http://store.penobscotbaypress.com/subs.html">Click here for subscription information...</a></p>
  57. </div>
  58. </div>
  59. </div>
  60. <div class="sidebar_right_media">
  61. <!-- Google AdSense BEGIN -->
  62. <div style="clear:both; text-align:center">
  63. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  64. <!-- Square ad for right of pages -->
  65. <ins class="adsbygoogle"
  66. style="display:inline-block;width:250px;height:250px"
  67. data-ad-client="ca-pub-7616595738812584"
  68. data-ad-slot="7790117357"></ins>
  69. <script>
  70. (adsbygoogle = window.adsbygoogle || []).push({});
  71. </script>
  72. </div>
  73. <!-- Google AdSense END -->
  74. <br>
  75. <!-- Google AdSense BEGIN -->
  76. <div style="clear:both; text-align:center">
  77. <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  78. <!-- Square ad for right of pages -->
  79. <ins class="adsbygoogle"
  80. style="display:inline-block;width:250px;height:250px"
  81. data-ad-client="ca-pub-7616595738812584"
  82. data-ad-slot="7790117357"></ins>
  83. <script>
  84. (adsbygoogle = window.adsbygoogle || []).push({});
  85. </script>
  86. </div>
  87. <!-- Google AdSense END -->
  88. </div>
  89. <!-- AddThis Smart Layers BEGIN -->
  90. <!-- Go to http://www.addthis.com/get/smart-layers to customize -->
  91. <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=penbaypress"></script>
  92. <script type="text/javascript">
  93. addthis.layers({
  94. 'theme' : 'transparent',
  95. 'share' : {
  96. 'position' : 'right',
  97. 'services' : 'facebook,twitter,email,print,gmail,tumblr,more',
  98. }
  99. });
  100. </script>
  101. <!-- AddThis Smart Layers END -->
  102. {% endblock %}