1. Guido Draheim
  2. trac-dvbcronrecording-plugin

Commits

Guido Draheim  committed 8794748

show adapter in recording plan

  • Participants
  • Parent commits 5990286
  • Branches default

Comments (0)

Files changed (3)

File src/dvbcronrecording/computer.py

View file
         self.newtimeMMM = 0
         self.endtimeMMM = 0
         self.extratimeM = 0
+        self.adapter = None
         self.adapters = [ default_adapter ]
         self.set(orig)
     def set(self, orig):

File src/dvbcronrecording/htdocs/css/recordinglist.css

View file
 .recordingplan .group1 { background-color: #eff; }
 .recordingplan .group2 { background-color: #ffe }
 .recordingplan .weekday { padding-left: 1em; }
+.recordingplan .adapter { font-size: smaller; color: gray; text-align: right; }
 .recordingplan .date { text-align: right; }
 .recordingplan .newtime { text-align: center; }
 .recordingplan .endtime { text-align: left; }

File src/dvbcronrecording/templates/recordingplan.html

View file
  <table>
     <thead>
     <tr>
-        <th> ${_("weekday")} </th>
+        <th colspan="2"> ${_("weekday")} </th>
         <th> ${_("onlydate")} </th>
         <th> ${_("newtime")} </th>
         <th> ${_("endtime")} </th>
                 (${item.weekday})
         </span>
      </td>
+     <td class="adapter" py:if="item is not None">(${item.adapter or "o"})</td>
            <td py:if="item is not None" class="date ${(item.groupcount and item.groupcount % 2) and 'group1' or 'group2'}">
                <span py:if="item.months">
                   <span py:if="item.onlyday">