Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/views/developers/versions_edit.thtml
diff options
context:
space:
mode:
Diffstat (limited to 'site/app/views/developers/versions_edit.thtml')
-rw-r--r--site/app/views/developers/versions_edit.thtml28
1 files changed, 5 insertions, 23 deletions
diff --git a/site/app/views/developers/versions_edit.thtml b/site/app/views/developers/versions_edit.thtml
index 55e8517..40b0578 100644
--- a/site/app/views/developers/versions_edit.thtml
+++ b/site/app/views/developers/versions_edit.thtml
@@ -21,7 +21,6 @@
*
* Contributor(s):
* Justin Scott <fligtar@mozilla.com> (Original Author)
- * Frederic Wenzel <fwenzel@mozilla.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
@@ -174,9 +173,9 @@
echo '</span></div>';
echo '</div>';
}
-
+
// Version Notes
- echo $this->renderElement('translationbox', array(
+ echo $this->renderElement('developers/translationbox', array(
'field' => 'releasenotes',
'translations' => $translations['releasenotes'],
'height' => '130',
@@ -184,26 +183,9 @@
'displayName' => ___('devcp_versions_edit_transbox_releasenotes_name'),
'description' => ___('devcp_versions_edit_transbox_releasenotes_description'),
));
- ?>
-
- <!-- Source Code License -->
- <div class="graybox rounded spaced field">
- <h4><?=___('devcp_versions_edit_header_license')?></h4>
- <p><?=___('devcp_versions_edit_license_description')?></p>
- <?php
- list($licenses, $trans) = $this->controller->Developers->getLicenses($version['Version']['id']);
- echo $this->renderElement('developers/license_picker',
- array('licenses' => $licenses));
- echo $this->renderElement('developers/license_translationbox',
- array('translations' => $trans,
- // The transbox wraps fieldname with []
- 'fieldname' => 'License][text'));
- ?>
- </div>
-
- <div class="graybox rounded spaced field">
- <h4><?=___('devcp_versions_edit_header_approval')?></h4>
- <?php
+
+ echo '<div class="graybox rounded spaced field">';
+ echo '<h4>'.___('devcp_versions_edit_header_approval').'</h4>';
if (!empty($version['File'])) {
echo '<ul>';
foreach ($version['File'] as $file) {