Revision 89d02c7e

b/snf-cyclades-app/synnefo/ui/static/snf/js/ui/web/ui_vms_base_view.js
141 141
          var date = '{0}-{1}-{2} {3}:{4}:{5}'.format(
142 142
            d.getFullYear(), d.getMonth()+1, d.getDate(), d.getHours(), 
143 143
            d.getMinutes(), d.getSeconds());
144
          var name = "\"{0}\" snapshot [{1}]".format(vmname, date);
145
	  if (this.volume) { name += "[volume:" + this.volume + "]" }
144
          var name = "\"{0}\" snapshot [{1}]".format(synnefo.util.truncate(vmname, 40), date);
145
          if (this.volume) { name += "[volume:" + this.volume + "]" }
146 146
          var description = "Volume id: {0}".format(this.volume || 'primary');
147 147
          description += "\n" + "Server id: {0}".format(vmid);
148 148
          description += "\n" + "Server name: {0}".format(vmname);

Also available in: Unified diff