Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add a common set of button table rows. mdhelp: use the (above…
…) button rows in some of the docs mdhelp: update timers/dvrautorec screenshots mdhelp: update dvrautorec caption
  • Loading branch information
Mark Clarkstone authored and perexg committed May 7, 2016
1 parent 9cedb05 commit 96d07b9
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 71 deletions.
7 changes: 3 additions & 4 deletions docs/class/config.md
Expand Up @@ -11,10 +11,9 @@ The tab has the following buttons:

Button | Function
-----------------------|-------------------
**Save** | Save all changes (this will reload the web interface).
**Undo** | Revert all changes since last save.
**Save** | Save the current configuration.
**Undo** | Undo changes since the last save.
**Start wizard** | Display the first-run set-up wizard.
**View Level**| Change the interface view level to show/hide more advanced options.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---
37 changes: 9 additions & 28 deletions docs/class/dvrautorec.md
Expand Up @@ -4,34 +4,24 @@ This tab controls EPG-driven recording rules.

---

###Menu Bar/Buttons
<tvh_include>inc/common_button_table_start</tvh_include>

The tab has the following buttons:

Button | Function
-----------------------|-------------------
**Save** | Save any changes made to the grid/entries.
**Undo** | Revert any changes made since the last save.
**Add** | Display the *Add Autorec* dialog.
**Delete** | Delete the selected entry/entries.
**Edit** | Edit the selected entry.
**View Level**| Change the interface view level to show/hide more advanced options.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---

###Adding an Entry/Rule
<tvh_include>inc/add_grid_entry</tvh_include>

You can add an entry by pressing the *[Add]* button from the menu bar.
####An Example

For example, if you wanted to record any programs matching "BBC News" on
If you wanted to record any programs matching "BBC News" on
BBC One you would enter something like this into the add entry dialog:

!['Autorec' example entry](docresources/dvrautorecadd.png)

This uses a regular expression (regex) to match the program title
"BBC News" exactly, otherwise event titles containing the phrase would
also match (e.g "BBC News at One", "BBC News at Six" etc).
also match, e.g "BBC News at One" and "BBC News at Six" etc.

Regular expressions examples:

Expand All @@ -47,20 +37,11 @@ automatically start being recorded.**

---

###Editing an Entry

Highlight (select) the desired entry within the grid, then click the *[Edit]*
button from the menu bar.

**Tip**: You can quickly make changes to an entry by double-clicking on
the desired field within the grid. See *Editing Fields* on the [Web interface Guide - General](webui_general)
page for details.
<tvh_include>inc/edit_grid_entries</tvh_include>

---

###Deleting an Entry

Highlight (select) the desired entry within the grid, then click the *[Delete]*
button from the menu bar.
<tvh_include>inc/del_grid_entries</tvh_include>

---

2 changes: 1 addition & 1 deletion docs/class/dvrentry.md
Expand Up @@ -37,7 +37,7 @@ Button | Function
-----------------------------|---------
**Delete** | Delete the selected grid entries.
**Edit** | Edit the selected grid entries.
**View Level** | Change the interface view level to show/hide more advanced options.
<tvh_include>inc/common_button_table_end</tvh_include>

The following functions are only available in the
**Upcoming/Current Recordings** tab.
Expand Down
35 changes: 8 additions & 27 deletions docs/class/dvrtimerec.md
@@ -1,49 +1,30 @@
This tab controls timer-driven recording rules.

![Timer Tab](docresources/timeschedules.png)
![Timer Tab](docresources/timers.png)

---

###Menu Bar/Buttons
<tvh_include>inc/common_button_table_start</tvh_include>

The tab has the following buttons:

Button | Function
-----------------------|-------------------
**Save** | Save any changes made to the grid/entries.
**Undo** | Revert any changes made since the last save.
**Add** | Display the *Add Timer* dialog.
**Delete** | Delete the selected entry/entries.
**Edit** | Edit the selected entry.
**View Level**| Change the interface view level to show/hide more advanced options.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---

###Adding an Entry
<tvh_include>inc/add_grid_entry</tvh_include>

You can add an entry by pressing the *[Add]* button from the menu bar.
####An Example

![Timer add example](docresources/dvrtimeradd.png)

Note that when you create a rule/entry it will also generate a [DVR Entry](class/dvrentry).

---

###Editing an Entry

Highlight (select) the desired entry within the grid, then click the *[Edit]*
button from the menu bar.

**Tip**: You can quickly make changes to an entry by double-clicking on
the desired field within the grid. See *Editing Fields* on the [Web interface Guide - General](webui_general)
page for details.
<tvh_include>inc/edit_grid_entries</tvh_include>

---

###Deleting an Entry

Highlight (select) the desired entry within the grid, then click the *[Delete]*
button from the menu bar.
<tvh_include>inc/del_grid_entries</tvh_include>

---

4 changes: 3 additions & 1 deletion docs/class/ipblocking.md
Expand Up @@ -5,7 +5,9 @@ are not allowed to login (use any Tvheadend service).

---

<tvh_include>inc/buttons1</tvh_include>
<tvh_include>inc/common_button_table_start</tvh_include>

<tvh_include>inc/common_button_table_end</tvh_include>

---

Expand Down
2 changes: 1 addition & 1 deletion docs/class/linuxdvb_frontend_dvbc.md
Expand Up @@ -20,6 +20,6 @@ The following buttons are available:
Button | Function
---------------|---------
**Save** | Save the current configuration.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---
2 changes: 1 addition & 1 deletion docs/class/linuxdvb_frontend_dvbs.md
Expand Up @@ -20,6 +20,6 @@ The following buttons are available:
Button | Function
---------------|---------
**Save** | Save the current configuration.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---
2 changes: 1 addition & 1 deletion docs/class/linuxdvb_satconf.md
Expand Up @@ -12,7 +12,7 @@ The following buttons are available:
Button | Function
---------------|---------
**Save** | Save the current configuration.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---

Expand Down
Binary file modified docs/docresources/dvrautorecentries.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docresources/timers.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/markdown/inc/common_button_table_end.md
@@ -0,0 +1 @@
**View Level** | Change the interface view level to show/hide more advanced options.\n**Help** | Display this help page.
@@ -1,13 +1,11 @@
###Menu Bar/Buttons

The tab has the following buttons:
The following functions are available:

Button | Function
-----------------------|-------------------
**Save** | Save any changes made to the grid/entries.
**Undo** | Revert any changes made since the last save.
**Add** | Display the *Add entry* dialog.
**Delete** | Delete the selected entry/entries.
**Edit** | Edit the selected entry.
**View Level** | Change the interface view level to show/hide more advanced options.
**Help** | Display this help page.
**Edit** | Edit the selected entries.
3 changes: 1 addition & 2 deletions docs/markdown/tv_adapters.md
Expand Up @@ -13,8 +13,7 @@ The following buttons are available:
Button | Function
---------------|---------
**Save** | Save the current configuration.
**View Level**| Change the interface view level to show/hide more advanced options.
**Help** | Display this help page.
<tvh_include>inc/common_button_table_end</tvh_include>

---

Expand Down
4 changes: 3 additions & 1 deletion src/dvr/dvr_autorec.c
Expand Up @@ -1041,7 +1041,9 @@ const idclass_t dvr_autorec_entry_class = {
.id = "channel",
.name = N_("Channel"),
.desc = N_("The channel on which this rule applies, i.e. the "
"channel you're aiming to record."),
"channel you're aiming to record. You can leave "
"this field blank to apply the rule to all "
"channels."),
.set = dvr_autorec_entry_class_channel_set,
.get = dvr_autorec_entry_class_channel_get,
.rend = dvr_autorec_entry_class_channel_rend,
Expand Down

0 comments on commit 96d07b9

Please sign in to comment.