Changeset 581


Ignore:
Timestamp:
Dec 13, 2004, 8:03:03 AM (17 years ago)
Author:
kake
Message:

Add span.node_name class for inline non-hyperlink references to node names.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Changes

    r580 r581  
    33        Update supersearch help text URL.
    44        Add nofollow to robots meta tag.
     5        Added new CSS class "node_name" for inline non-hyperlink references
     6         to node names - see README.CSS for details.
    57       
    680.45    1 December 2004
  • trunk/README.CSS

    r580 r581  
    5959             CSS-conforming user agent
    6060
     61span.node_name
     62    Used in: backlink_results.tt delete_confirm.tt delete_done.tt
     63             differences.tt node_history.tt
     64    Purpose: Inlines a node name in a snippet of explanatory text,
     65             without linking to it.
     66
    6167td.label
    6268    Used in: edit_conflict.tt, edit_form.tt
  • trunk/t/52_display_diffs.t

    r580 r581  
    33use OpenGuides;
    44use OpenGuides::Test;
    5 use Test::More tests => 4;
     5use Test::More tests => 5;
    66
    77eval { require DBD::SQLite; };
     
    99
    1010SKIP: {
    11     skip "DBD::SQLite not installed - no database to test with", 4
     11    skip "DBD::SQLite not installed - no database to test with", 5
    1212      unless $have_sqlite;
    1313
     
    4444    is( $@, "", "->display_diffs doesn't die" );
    4545    like( $output,
    46           qr/differences between version 2 and version 3 of I Like Pie/i,
     46          qr/differences between version 2 and version 3/i,
    4747          "...version numbers included in output" );
     48    like( $output, qr|<span class="node_name">I Like Pie</span>|,
     49          "...node name inlined in output" );
    4850    unlike( $output, qr/contents are identical/i,
    4951            "...'contents are identical' not printed when contents differ" );
  • trunk/templates/backlink_results.tt

    r580 r581  
    33<div id="content">
    44[% INCLUDE navbar.tt %]
    5 <h1 align=center>[% site_name %] - Backlinks to [% node_name %]</h1>
     5<h1 align=center>
     6  [% site_name %] - Backlinks to <span class="node_name">[% node_name %]</span>
     7</h1>
    68
    79<p>Results found: [% num_results %]</p>
  • trunk/templates/delete_confirm.tt

    r580 r581  
    1212[% IF delete_version %]
    1313  Are you sure you want to delete version [% delete_version %] of
    14   <em>[% node_name %]</em>?  This will completely erase this version
     14  <span class="node_name">[% node_name %]</span>?  This will completely
     15  erase this version
    1516  and you will not be able to get it back.  If all versions are erased
    1617  then the page will cease to exist.
    1718[% ELSE %]
    18   Are you sure you want to delete <em>[% node_name %]</em>?  This will
     19  Are you sure you want to delete
     20  <span class="node_name">[% node_name %]</span>?  This will
    1921  completely erase this page and all its history.
    2022[% END %]
  • trunk/templates/delete_done.tt

    r580 r581  
    1414  The
    1515[% END %]
    16 node '[% node_name %]' was deleted.
     16node <span class="node_name">[% node_name %]</span> was deleted.
    1717[% IF other_versions_remain %]
    1818  <a href="[% cgi_url %]?[% node_param %]">View current version</a>.
  • trunk/templates/differences.tt

    r580 r581  
    55[% INCLUDE navbar.tt %]
    66  <h1>
    7   [% site_name %] - Differences between [% right_version %] and [% left_version %] of [% node_name %]
     7  [% site_name %] - Differences between [% right_version %] and [% left_version %] of <span class="node_name">[% node_name %]</span>
    88  </h1>
    99[% IF diff %]
  • trunk/templates/node.tt

    r580 r581  
    1313  [% END %]
    1414[% ELSE %]
    15   <h2><em>Historical version [% version %] of [% node_name %]</em></h2>
     15  <h2>
     16    <em>Historical version [% version %] of
     17    <span class="node_name">[% node_name %]</span></em>
     18  </h2>
    1619[% END %]
    1720[% INCLUDE display_metadata.tt %]
  • trunk/templates/node_history.tt

    r580 r581  
    55[% INCLUDE navbar.tt %]
    66
    7 <h1 align="center">[% site_name %] - History of [% node_name %]</h1>
     7<h1 align="center">
     8  [% site_name %] - History of <span class="node_name">[% node_name %]</span>
     9</h1>
    810<p>
    911Note: only administrators can delete historical versions.
Note: See TracChangeset for help on using the changeset viewer.