Skip to content

Commit

Permalink
Merge pull request #1132 from UniversityRadioYork/jp-editshowart
Browse files Browse the repository at this point in the history
show art button
  • Loading branch information
JP5457 authored Oct 6, 2023
2 parents 660d48b + a1c8628 commit e2762df
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/Classes/ServiceAPI/MyRadio_Show.php
Original file line number Diff line number Diff line change
Expand Up @@ -1235,6 +1235,12 @@ function ($x) {
'title' => 'Apply for a new Season',
'url' => URLUtils::makeURL('Scheduler', 'editSeason', ['showid' => $this->getID()]),
],
'uploadlink' => [
'display' => 'icon',
'value' => 'upload',
'title' => 'upload show art',
'url' => URLUtils::makeURL('Scheduler', 'showPhoto', ['show_id' => $this->getID()]),
],
'micrositelink' => [
'display' => 'icon',
'value' => 'link',
Expand Down
2 changes: 1 addition & 1 deletion src/Controllers/Scheduler/editShow.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@
->setTemplate('Scheduler/createShow.twig')
->render();
}
}
}
5 changes: 5 additions & 0 deletions src/Public/js/myradio.scheduler.pending.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.scheduler.seasonlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.scheduler.showlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bSortable": false
},
//uploadlink
{
"sTitle": "Show Art",
"bSortable": false
},
//micrositelink
{
"sTitle": "Site",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.scheduler.timeslotlist.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.stats.mostlistenedtimeslot.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.stats.mostmessagedshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down
5 changes: 5 additions & 0 deletions src/Public/js/myradio.stats.mostmessagedtimeslot.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ $(".twig-datatable").dataTable({
"sTitle": "New Season",
"bVisible": false
},
//uploadlink
{
"sTitle": "Show Art",
"bVisible": false
},
//micrositelink
{
"sTitle": "View Microsite",
Expand Down

0 comments on commit e2762df

Please sign in to comment.