exposed the actual download links in the code file/folder views

This commit is contained in:
hyung-hwan 2016-01-20 04:26:15 +00:00
parent 6a752d6fb2
commit 5b78418e74
2 changed files with 4 additions and 2 deletions

View File

@ -268,7 +268,8 @@ $this->load->view (
print anchor ('#', $diff_anchor_text, 'id="code_file_diff_button"'); print anchor ('#', $diff_anchor_text, 'id="code_file_diff_button"');
print anchor ('#', $fulldiff_anchor_text, 'id="code_file_fulldiff_button"'); print anchor ('#', $fulldiff_anchor_text, 'id="code_file_fulldiff_button"');
print anchor ('#', $history_anchor_text, 'id="code_file_history_button"'); print anchor ('#', $history_anchor_text, 'id="code_file_history_button"');
print anchor ('#', $download_anchor_text, 'id="code_file_download_button"'); //print anchor ('', $download_anchor_text, 'id="code_file_download_button"');
print anchor ("code/fetch/{$project->id}/${hex_headpath}{$revreq}", $download_anchor_text, 'id="code_file_download_button"');
print anchor ('#', $this->lang->line('Enstyle'), 'id="code_file_style_button"'); print anchor ('#', $this->lang->line('Enstyle'), 'id="code_file_style_button"');
print '</div>'; print '</div>';

View File

@ -853,7 +853,8 @@ $this->load->view (
} }
print anchor ('#', $history_anchor_text, 'id="code_folder_history_button"'); print anchor ('#', $history_anchor_text, 'id="code_folder_history_button"');
print anchor ('#', $download_anchor_text, 'id="code_folder_download_button"'); //print anchor ('#', $download_anchor_text, 'id="code_folder_download_button"');
print anchor ("code/fetch/{$project->id}/${hex_headpath}{$revreq}", $download_anchor_text, 'id="code_folder_download_button"');
print '<a id="code_folder_loc_by_lang_button" href="#">'; print '<a id="code_folder_loc_by_lang_button" href="#">';
print '<i id="code_folder_loc_by_lang_spin" class="fa"></i>LOC-'; print '<i id="code_folder_loc_by_lang_spin" class="fa"></i>LOC-';