Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
58bea1aa
Commit
58bea1aa
authored
Apr 07, 2016
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ADD markdown support for detail object
parent
ef55b1ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
show.html
app/components/crud/templates/show.html
+4
-2
No files found.
app/components/crud/templates/show.html
View file @
58bea1aa
...
...
@@ -12,13 +12,15 @@
</thead>
<tbody
ng-if=
"obj.type==='table-multiRow'"
>
<tr
ng-repeat=
"row in obj.fields"
>
<td
ng-repeat=
"(k,v) in row track by $index"
>
{{v}}
</td>
<!--<td ng-repeat="(k,v) in row track by $index"><markdown ng-bind-html="v"></markdown></td>-->
<td
ng-repeat=
"(k,v) in row track by $index"
ng-bind-html=
"v | markdown"
></td>
</tr>
</tbody>
<tbody
ng-if=
"obj.type==='table'"
>
<tr
ng-repeat=
"(key, value) in obj.fields"
>
<td
class=
"col-md-2"
>
{{key}}
</td>
<td
class=
"col-md-8"
>
{{value}}
</td>
<!--<td class="col-md-8"><markdown ng-bind-html="value"></markdown></td>-->
<td
class=
"col-md-8"
ng-bind-html=
"value | markdown"
></td>
</tr>
</tbody>
</table>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment