Differential D13200 Diff 31965 src/applications/phragment/controller/PhragmentSnapshotCreateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phragment/controller/PhragmentSnapshotCreateController.php
| Show First 20 Lines • Show All 83 Lines • ▼ Show 20 Lines | if ($fragment->getLatestVersion() !== null) { | ||||
| $fragment_sequence = $fragment->getLatestVersion()->getSequence(); | $fragment_sequence = $fragment->getLatestVersion()->getSequence(); | ||||
| } | } | ||||
| $rows = array(); | $rows = array(); | ||||
| $rows[] = phutil_tag( | $rows[] = phutil_tag( | ||||
| 'tr', | 'tr', | ||||
| array(), | array(), | ||||
| array( | array( | ||||
| phutil_tag('th', array(), 'Fragment'), | phutil_tag('th', array(), pht('Fragment')), | ||||
| phutil_tag('th', array(), 'Version'), | phutil_tag('th', array(), pht('Version')), | ||||
| )); | )); | ||||
| $rows[] = phutil_tag( | $rows[] = phutil_tag( | ||||
| 'tr', | 'tr', | ||||
| array(), | array(), | ||||
| array( | array( | ||||
| phutil_tag('td', array(), $fragment->getPath()), | phutil_tag('td', array(), $fragment->getPath()), | ||||
| phutil_tag('td', array(), $fragment_sequence), | phutil_tag('td', array(), $fragment_sequence), | ||||
| )); | )); | ||||
| ▲ Show 20 Lines • Show All 72 Lines • Show Last 20 Lines | |||||