app/soc/templates/modules/ghop/templatetags/_as_ghop_task_ws.html
changeset 2830 5caf0d342696
equal deleted inserted replaced
2829:ebc8976cd8f6 2830:5caf0d342696
       
     1 {% comment %}
       
     2 Licensed under the Apache License, Version 2.0 (the "License");
       
     3 you may not use this file except in compliance with the License.
       
     4 You may obtain a copy of the License at
       
     5 
       
     6   http://www.apache.org/licenses/LICENSE-2.0
       
     7 
       
     8 Unless required by applicable law or agreed to in writing, software
       
     9 distributed under the License is distributed on an "AS IS" BASIS,
       
    10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    11 See the License for the specific language governing permissions and
       
    12 limitations under the License.
       
    13 {% endcomment %}
       
    14 
       
    15 <script type="text/javascript">
       
    16 $(document).ready(function(){
       
    17   $('.spws{{ ws_id }}').hide();
       
    18   $('.ghoptaskcomment #ws{{ ws_id }}').hover(
       
    19     function() {
       
    20       $('.spws{{ ws_id }}').show();
       
    21     },
       
    22     function() {
       
    23       $('.spws{{ ws_id }}').hide();
       
    24     });
       
    25 });
       
    26 </script>
       
    27 
       
    28 <div class="ghoptaskcomment">
       
    29  <div class="title" id="ws{{ ws_id }}">
       
    30   On {{ ws.submitted_on|date:"jS F Y H:i" }},
       
    31   by {{ ws.user.name }}:
       
    32   <span class="spws{{ ws_id }}">
       
    33    <a title="Permalink to this Work Submission" href="#ws{{ ws_id }}">ΒΆ</a>
       
    34   </span>
       
    35  </div>
       
    36  <div class="box-inner">
       
    37   <p>
       
    38    {% if ws.information %}
       
    39      {{ ws.information|safe }}</p>
       
    40    {% else %}
       
    41    (No additional information was entered with this work submission.)
       
    42    {% endif %}
       
    43  </div>
       
    44  {% if ws.url_to_work %}
       
    45   <div class="changes">
       
    46    <div class="box-inner">
       
    47     <b>Link to Work Submitted:</b>
       
    48     <a href='{{ ws.url_to_work|safe }}'>{{ ws.url_to_work|safe }}</a> 
       
    49    </div>
       
    50   </div>
       
    51  {% endif %}
       
    52 </div>
       
    53 <hr />
       
    54