public/partials/schedules.html in simple_pvr-0.0.3 vs public/partials/schedules.html in simple_pvr-0.0.4

- old
+ new

@@ -7,12 +7,12 @@ <span ng-show="schedule.channel">on {{schedule.channel.name}}</span> <span ng-show="schedule.start_time">{{schedule.start_time | date:'fullDate'}} at {{schedule.start_time | date:'HH:mm'}}</span> {{schedule | filteredWeekdays}} {{schedule | timeOfDay}} {{schedule | startEarlyEndLate}} </p> <p> - <a ng-href="/schedules/{{schedule.id}}" class="btn">Edit</a> - <a ng-click="deleteSchedule(schedule)" class="btn btn-warning">Delete</a> + <a ng-href="/schedules/{{schedule.id}}" class="btn" ng-hide="schedule.is_exception">Edit</a> + <button type="button" ng-click="deleteSchedule(schedule)" class="btn btn-warning">Delete</button> </p> </div> </div> <div class="row"> <div class="span6"> @@ -32,10 +32,10 @@ </div> <div class="span6" id="upcoming_recordings"> <h1>Upcoming recordings</h1> <div class="row" ng-repeat="recording in upcomingRecordings"> <div class="span6"> - <h2>{{recording.show_name}}<span ng-show="recording.is_conflicting" style="color: red"> (Conflicting)</span> <a ng-click="excludeRecording(recording)"title="Do not record this specific show"><i class="icon-remove"></i></a></h2> + <h2>{{recording.show_name}}<span ng-show="recording.is_conflicting" style="color: red"> (Conflicting)</span> <a ng-href="#" ng-click="excludeRecording(recording)" title="Do not record this specific show"><i class="icon-remove"></i></a></h2> <p>{{recording.start_time | date:'fullDate'}} at {{recording.start_time | date:'HH:mm'}} on {{recording.channel.name}}</p> <p ng-show="recording.subtitle">{{recording.subtitle}}</p> <p><a ng-href="/programmes/{{recording.programme_id}}">View details</a></p> </div> </div>