Updated logic for showing spreadsheet template links to detect which plugin it is