Project

General

Profile

« Previous | Next » 

Revision 51ecbf45

Added by Andreas Kohlbecker about 2 years ago

reenabling worms and statement on licensing

View differences:

modules/cdm_dataportal/js/utis-client/utis-client.js
105 105
      var checkboxesArray = [];
106 106
      $.each(Object.keys(plugin.options.providers), function (index, key) {
107 107
        var checkbox_id = 'checkbox_' + key;
108
        var disabled = key == 'worms';
108
        var disabled = key == '--unused--'; // the disable state has been used for worms
109 109
        var checkbox =   $("<input/>",
110 110
          {
111 111
            type: 'checkbox',
......
122 122
        if(disabled){
123 123
          checkBoxesDiv.append($('<div style="font-size:small; color:#bbbbbb;">' + plugin.options.providers[key] + ' disabled due to unresolved potential copyright issues.</div>'))
124 124
        }
125
        if(  key == 'worms'){
126
          checkBoxesDiv.append($('<div style="font-size:small; color:#bbbbbb;">(WoRMS includes data from different databases. Please consider data sources, data citations, and licensing as given by WoRMS.)</div>'));
127
        }
125 128

  
126 129
        checkboxesArray.push(checkbox);
127 130
      });

Also available in: Unified diff