Add "Unite with next" button
This commit is contained in:
@ -44,6 +44,17 @@ defmodule OutlookWeb.ArticleLive.NewComponents do
|
||||
def review_translation_units(assigns) do
|
||||
~H"""
|
||||
<div>Review Translation Units</div>
|
||||
<div class="flex gap-4">
|
||||
<div id="html-tree" class="w-96 overflow-auto whitespace-nowrap">
|
||||
<.render_tree tree={@raw_internal_tree} ></.render_tree>
|
||||
</div>
|
||||
<div id="partition-preview" class="article show-boundary overflow-auto h-full">
|
||||
<.render_doc tree={@raw_internal_tree} ></.render_doc>
|
||||
</div>
|
||||
<div>
|
||||
<.live_component module={OutlookWeb.ArticleLive.MenuComponent} entries={@menu_entries} handler="modify_tunits" id={:review_tunits} />
|
||||
</div>
|
||||
</div>
|
||||
<.button phx-click="approve_translation_units">Continue</.button>
|
||||
"""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user