Skip to content
Snippets Groups Projects
Commit 8c1f0a8c authored by Tyler Lemburg's avatar Tyler Lemburg
Browse files

Versioning

parent 6c8cde4a
Branches
Tags
No related merge requests found
ALTER TABLE lockups ALTER TABLE lockups
ADD COLUMN `version` varchar(255) DEFAULT '1.0'; ADD COLUMN `version` varchar(255) DEFAULT NULL;
\ No newline at end of file
UPDATE lockups SET version = '1.0' WHERE status = 'generated';
\ No newline at end of file
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<th>Submitter</th> <th>Submitter</th>
<th>Approver</th> <th>Approver</th>
<th>Status</th> <th>Status</th>
<th>Version</th>
<th class="right">Actions</th> <th class="right">Actions</th>
</tr> </tr>
</thead> </thead>
...@@ -21,6 +22,7 @@ ...@@ -21,6 +22,7 @@
<td><?php echo $lockup->user->username ?></td> <td><?php echo $lockup->user->username ?></td>
<td><?php echo $lockup->getApproverName(); ?></td> <td><?php echo $lockup->getApproverName(); ?></td>
<td><?php echo $lockup->getFullStatusText(); ?></td> <td><?php echo $lockup->getFullStatusText(); ?></td>
<td><?php echo $lockup->version; ?></td>
<td class="table-actions right" style="min-width: 200px;"> <td class="table-actions right" style="min-width: 200px;">
<?php if ($lockup->isEditable()): ?> <?php if ($lockup->isEditable()): ?>
<a class="wdn-button wdn-button-triad" href="<?php echo $lockup->getEditURL(); ?>">Edit</a> <a class="wdn-button wdn-button-triad" href="<?php echo $lockup->getEditURL(); ?>">Edit</a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment