Skip to content
Snippets Groups Projects

Issue #3511702: Updated readme and help page

Open Tyler Staples requested to merge issue/jstimer-3511702:3511702-update-readme- into 2.0.x
2 unresolved threads

Closes #3511702

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
17 switch ($path) {
18 case 'admin/modules#description':
19 return t('A module which creates javascript timers.');
20 case 'admin/help#jstimer':
21 $output = <<<HELP_TXT
22 <p>Please look at the readme.txt file that comes with this module. It really has a lot of great information.</p>
23 <p>The javascript timer module provides an api to allow you to make dhtml widgets which are updated every second.
24 There are some good examples for node and block usage in the readme.txt file.
25 Please look at it.</p>
26 HELP_TXT;
27 $output .= '<p>Usage Example for a Node<br/>&lt;span class="jst_timer"&gt;Count Up to 11:30<br/>&lt;span style="display:none" class="datetime"&gt;2007-02-26T09:30:00&lt;/span&gt;<br/>&lt;span style="display:none"<br/>';
28 $output .= '&lt;span style="display:none" class="dir"&gt;up&lt;/span&gt;<br/>&lt;/span&gt;</p>';
18 function jstimer_help($route_name, RouteMatchInterface $route_match) {
19 switch ($route_name) {
20 case 'help.page.jstimer':
21 $output = '<p>' . t('Please look at the readme.txt file that comes with this module. It really has a lot of great information.') . '</p>';
  • 32 27
    28 ## Configuration
    33 29
    34 Countdown timer (with interval specified in seconds):
    35 ```
    36 <span class="jst_timer">
    37 <span style="display:none" class="interval">22</span>
    38 </span>
    39 ```
    30 Module configuration can be found at `admin/config/system/jstimer`. The config
    31 relies on other modules to generate the config form. For example the jst_clock or
    32 jst_timer modules bundled with this module.
    40 33
    34 ## Maintainers
    41 35
    42 Countdown timer with output format number setting:
  • Tyler Staples added 1 commit

    added 1 commit

    Compare with previous version

  • Please register or sign in to reply
    Loading